[Bug c++/34018] New: ICE: verify_stmts failed
rwgk at yahoo dot com
gcc-bugzilla@gcc.gnu.org
Wed Nov 7 19:37:00 GMT 2007
Platform:
Fedora release 7 (Moonshine)
Linux idle.lbl.gov 2.6.22.9-91.fc7 #1 SMP Thu Sep 27 20:47:39 EDT 2007 x86_64
x86_64 x86_64 GNU/Linux
% g++ -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: /net/rosie/scratch2/rwgk/gcc_trunk/configure
--prefix=/net/cci-filer1/vol1/tmp/rwgk/gcc_trunk_129944_x86_64_fc7
--enable-languages=c,c++,fortran --with-mpfr=/usr
Thread model: posix
gcc version 4.3.0 20071106 (experimental) (GCC)
I'll upload a small standalone reproducer.
To reproduce the problem:
% g++ -c -O1 ~/verify_stmts_failed.cpp
/net/cci/rwgk/verify_stmts_failed.cpp: In constructor
'triangulation::triangulation(const tiny<long unsigned int, 3ul>&)':
/net/cci/rwgk/verify_stmts_failed.cpp:73: error: invalid operand to binary
operator
&this_2(D)->n_cells.elems[0];
/net/cci/rwgk/verify_stmts_failed.cpp:73: internal compiler error: verify_stmts
failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
It works with these alternative commands:
g++ -c -O1 ~/verify_stmts_failed.cpp -DDISABLE_INLINE
g++ -c ~/verify_stmts_failed.cpp
It also works with many other compilers including all older g++.
Ralf
--
Summary: ICE: verify_stmts failed
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: rwgk at yahoo dot com
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34018
More information about the Gcc-bugs
mailing list