[Bug rtl-optimization/323] optimized code gives strange floating point results
------- Additional Comments From mario dot tragni at planetek dot it 2005-05-20 08:40 -------
(In reply to comment #2)
> State-Changed-From-To: open->closed
> State-Changed-Why: See any faq on numerical analysis that mentions the x86.
> You are seeing the results of excess precision in the FPU.
> Either change the rounding precision in the FPCR, or work
> around the problem with -ffloat-store.
>
I had this bug on x86 architecture, with no optimization of the code (no -OX)
and with float-store on. My workaround was to store the return of the double
function in a auxliar double variable before comparison.
Have you an other suggestion ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=323
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Reply to: