https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68116
Bug ID: 68116
Summary: ice in add_expr, at tree.c:7840
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
Created attachment 36597
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36597&action=edit
gzipped C++ source code
For trunk dated 20151025, I get the following error message,
when the attached code is compiled with -O2 -march=native.
/home/dcb/rpmbuild/BUILD/smokegen-4.14.3/parser/visitor.cpp: In function ‘void
_
_static_initialization_and_destruction_0(int, int)’:
/home/dcb/rpmbuild/BUILD/smokegen-4.14.3/parser/visitor.cpp:21:26: internal
comp
iler error: in add_expr, at tree.c:7840
Visitor::visitor_fun_ptr Visitor::_S_table[AST::NODE_KIND_COUNT] = {
^
0x104fce6 inchash::add_expr(tree_node const*, inchash::hash&)
../../src/trunk/gcc/tree.c:7840
0x104fa80 inchash::add_expr(tree_node const*, inchash::hash&)
../../src/trunk/gcc/tree.c:7852
0x104f842 inchash::add_expr(tree_node const*, inchash::hash&)
../../src/trunk/gcc/tree.c:7813
0xb0a231 iterative_hash_expr
../../src/trunk/gcc/tree.h:4610
The machine is x86_64