This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/11984] [3.4 regression] ICE iwth -ffast_math: expected integer_cst, have real_cst
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Aug 2003 21:43:08 -0000
- Subject: [Bug middle-end/11984] [3.4 regression] ICE iwth -ffast_math: expected integer_cst, have real_cst
- References: <20030819210705.11984.agx@sigxcpu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11984
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Status|UNCONFIRMED |NEW
Component|c |middle-end
Ever Confirmed| |1
Priority|P2 |P1
Last reconfirmed|0000-00-00 00:00:00 |2003-08-19 21:43:07
date| |
Summary|ICE: expected integer_cst, |[3.4 regression] ICE iwth -
|have real_cst |ffast_math: expected
| |integer_cst, have real_cst
------- Additional Comments From bangerth at dealii dot org 2003-08-19 21:43 -------
Confirmed. Here's something smaller:
------------------------------
extern double log (double);
void f(double x)
{
double g;
g = log(1.0 - x - 0.00001);
}
-------------------------------
Compile with -ffast-math:
tmp/g> ../build-gcc/gcc-install/bin/gcc -c -ffast-math vf_hqdn3d-snapshot.i
vf_hqdn3d-snapshot.i: In function `f':
vf_hqdn3d-snapshot.i:6: internal compiler error: tree check: expected integer_cst, have
real_cst in tree_int_cst_lt, at tree.c:3220
Please submit a full bug report,
W.