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: 19 Sep 2008 22:19:54 -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 #6 from janis at gcc dot gnu dot org 2008-09-19 22:19 -------
Created an attachment (id=16365)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16365&action=view)
minimized C testcase
I don't yet understand what's going on but was able to come up with a
relatively small executable test case in C. It fails with "-O1
-funsafe-math-optimizations" for r134833 but passes with those options for
r134831. With r134833 it passes without -funsafe-math-optimizations. This
testcase doesn't care about -ftree-fre.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37449