------- 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