This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/35149] New: ICE: in expand_call_inline, at tree-inline.c:2653
- From: "p dot vanhoof at oma dot be" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Feb 2008 19:09:04 -0000
- Subject: [Bug c++/35149] New: ICE: in expand_call_inline, at tree-inline.c:2653
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
When the attached code is compiled with
g++ -finline -DBOUNDS_CHECK -c ion_recomb_Badnell.ii
you get
/usr/local/gcc430/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../include/c++/4.3.0/bits/basic_string.h:
In member function ?T& n_pointer<T, d, 1, ARPA_TYPE, true>::operator[](size_t)
const [with T = t_quantumState, int d = 3]?:
/usr/local/gcc430/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../include/c++/4.3.0/bits/basic_string.h:494:
internal compiler error: in expand_call_inline, at tree-inline.c:2653
Please submit a full bug report, ....
g++ -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc430/configure --prefix=/usr/local/gcc430
--enable-languages=c,c++,fortran
Thread model: posix
gcc version 4.3.0 20080201 (experimental) (GCC)
I could reproduce the bug on i686-pc-linux-gnu as well. I only got it with g++
4.3.0, not with 4.2.2, 4.1.2, or 4.0.4.
PS - My apologies for the large test case. I tried to reduce it, but got
totally frustrated because removing code almost invariably made the bug go
away.
--
Summary: ICE: in expand_call_inline, at tree-inline.c:2653
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: p dot vanhoof at oma dot be
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35149
- Follow-Ups:
- [Bug c++/35149] ICE: in expand_call_inline, at tree-inline.c:2653
- From: p dot vanhoof at oma dot be
- [Bug c++/35149] ICE: in expand_call_inline, at tree-inline.c:2653
- From: Ralf dot Wildenhues at gmx dot de
- [Bug c++/35149] ICE: in expand_call_inline, at tree-inline.c:2653
- From: Ralf dot Wildenhues at gmx dot de
- [Bug c++/35149] ICE: in expand_call_inline, at tree-inline.c:2653
- From: Ralf dot Wildenhues at gmx dot de
- [Bug middle-end/35149] [4.3 Regression] ICE: in expand_call_inline, at tree-inline.c:2653
- From: rguenth at gcc dot gnu dot org
- [Bug middle-end/35149] [4.3 Regression] ICE: in expand_call_inline, at tree-inline.c:2653
- From: hubicka at gcc dot gnu dot org
- [Bug middle-end/35149] [4.3 Regression] ICE: in expand_call_inline, at tree-inline.c:2653
- From: hubicka at gcc dot gnu dot org
- [Bug middle-end/35149] [4.3 Regression] ICE: in expand_call_inline, at tree-inline.c:2653
- From: Ralf dot Wildenhues at gmx dot de
- [Bug middle-end/35149] [4.3 Regression] ICE: in expand_call_inline, at tree-inline.c:2653
- From: hubicka at gcc dot gnu dot org
- [Bug middle-end/35149] [4.3 Regression] ICE: in expand_call_inline, at tree-inline.c:2653
- From: hubicka at gcc dot gnu dot org