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: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jul 2005 21:26:28 -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 reichelt at gcc dot gnu dot org 2005-07-20 21:26 -------
Reduced testcase:
========================
int foo(long double d)
{
return d==0;
}
========================
Comparison of long doubles with zero seems to be a problem.
This is a regression from gcc 3.4.x.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-07-20 21:26:27
date| |
Summary|ICE with simple factorial |[4.0/4.1 regression] ICE
|program compiled with - |with simple factorial
|ffast-math on gcc 4.0.2 |program compiled with -
| |ffast-math on gcc 4.0.2
Target Milestone|--- |4.0.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22576