This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/23433] [4.1 Regression] ICE: tree check: expected real_cst, have integer_cst in const_binop, at fold-const.c:1512
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Aug 2005 16:25:06 -0000
- Subject: [Bug tree-optimization/23433] [4.1 Regression] ICE: tree check: expected real_cst, have integer_cst in const_binop, at fold-const.c:1512
- References: <20050817070754.23433.micis@gmx.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-17 16:25 -------
Confirmed reduced testcase:
double transport_sumexp(int numexp)
{
int k,j;
double xk1 = 1.0;
for(k=1; k<=numexp;k++)
for(j=1;j<=3;j++)
xk1 += 1.0;
return xk1;
}
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |spop at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC build triplet|x86_64-unknown-linux-gnu |
GCC host triplet|x86_64-unknown-linux-gnu |
GCC target triplet|x86_64-unknown-linux-gnu |
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2005-08-17 16:25:04
date| |
Summary|ICE: tree check: expected |[4.1 Regression] ICE: tree
|real_cst, have integer_cst |check: expected real_cst,
|in const_binop, at fold- |have integer_cst in
|const.c:1512 |const_binop, at fold-
| |const.c:1512
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23433