optimization/9052: in C code, "if" statement fails to execute if optimized
Eric Botcazou
ebotcazou@libertysurf.fr
Thu Feb 13 11:48:00 GMT 2003
> How about 8445, 9654? Those are "bugs" that disappear with
> -ffloat-store, too. Like I said, I don't know enough about floating
> point numbers...
Toon seems to think that PR fortran/8445 is indeed the same problem. But it's
up to him to decide whether to close the bug.
PR optimization/9654 is exactly the same problem: using FP registers on x86
adds extra-precision which can modify comparison results. Nothing can be done
about that, other than using -ffloat-store which is precisely intended to
address the issue.
--
Eric Botcazou
More information about the Gcc-bugs
mailing list