This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]