[Bug tree-optimization/37449] [4.4 Regression] calculix gets wrong answer for -O1 -ffast-math
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Oct 20 23:16:00 GMT 2008
------- Comment #29 from jakub at gcc dot gnu dot org 2008-10-20 23:14 -------
Closing as INVALID, as using -ffast-math is wrong for calculix, at least for
the distilled testcase from it. In the testcase +0 vs. -0 makes very big
difference
(atan2 acts very similarly to copysign) and so compiling with an option that
says to the compiler that +0 vs. -0 is insignificant may result in very
unexpected results. Most probably compiling calculix with -O -ffast-math
-fsigned-zeros could work.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37449
More information about the Gcc-bugs
mailing list