[Bug tree-optimization/37449] [4.4 Regression] calculix gets wrong answer for -O1 -ffast-math

janis at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Sep 10 17:53:00 GMT 2008



------- Comment #5 from janis at gcc dot gnu dot org  2008-09-10 17:52 -------
I made some mistakes in my previous comments; -ftree-fre is part of -O1, and
what I meant to say is that calculix gets wrong results for "-O1 -ffast-math"
but correct results for "-O1 -fno-tree-fre -ffast-math.h".  The reghunt result
for the -O1 failure made no sense, but it turned out that the test had failed
for another reason and the failure actually starts with this patch:

    http://gcc.gnu.org/viewcvs?view=rev&rev=134832

    r134833 | espindola | 2008-04-30 17:21:55

-funsafe-math-optimizations causes lots of operations to be turned into
builtins,so I'll play with the testcase more with that in mind.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37449



More information about the Gcc-bugs mailing list