This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/37449] [4.4 Regression] calculix gets wrong answer for -O1 -ffast-math
- From: "janis at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Sep 2008 17:52:23 -0000
- Subject: [Bug tree-optimization/37449] [4.4 Regression] calculix gets wrong answer for -O1 -ffast-math
- References: <bug-37449-4503@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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