This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/21922] New: internal compiler error: tree check: expected real_cst, have integer_cst in const_binop, at fold-const.c:1513
- From: "p dot van-hoof at qub dot ac dot uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jun 2005 14:59:39 -0000
- Subject: [Bug c/21922] New: internal compiler error: tree check: expected real_cst, have integer_cst in const_binop, at fold-const.c:1513
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The attached code results in an ICE if compiled as follows:
dogbert> gcc -O1 -ftree-vectorize -c t.c
t.c: In function ?c?:
t.c:4: internal compiler error: tree check: expected real_cst, have integer_cst
in const_binop, at fold-const.c:1513
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
dogbert> gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc/configure --prefix=/usr/local/gcc410
--enable-languages=c,c++,f95
Thread model: posix
gcc version 4.1.0 20050605 (experimental)
This bug does not show up in the 4.0 release branch.
--
Summary: internal compiler error: tree check: expected real_cst,
have integer_cst in const_binop, at fold-const.c:1513
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: p dot van-hoof at qub dot ac dot uk
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21922