This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/22576] [4.0/4.1 regression] ICE with simple factorial program compiled with -ffast-math on gcc 4.0.2
- From: "uros at kss-loka dot si" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jul 2005 08:01:11 -0000
- Subject: [Bug target/22576] [4.0/4.1 regression] ICE with simple factorial program compiled with -ffast-math on gcc 4.0.2
- References: <20050720192906.22576.black.hole.sun16@gmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From uros at kss-loka dot si 2005-07-21 08:01 -------
Patch that fixes attached testcase and reduced testcase from comment #7.
BTW: In the attached testcase, there is a comment that program falls apart if
long double isn't used. With (patched) gcc-4.1 CVS, it works for me with "only"
doubles, with SSE or x87 math, -ffast-math or without it.
...
factorial of 99 is 9.33262e+155
factorial of 100 is 9.33262e+157
--
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2005-
| |07/msg01391.html
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22576