[Bug c++/63578] New: ICE In layout_type, at stor-layout.c:2398
ppluzhnikov at google dot com
gcc-bugzilla@gcc.gnu.org
Fri Oct 17 16:50:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63578
Bug ID: 63578
Summary: ICE In layout_type, at stor-layout.c:2398
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ppluzhnikov at google dot com
Google ref: b/18024040
Test:
int *b;
auto __attribute__ ((may_alias)) a = b; // replace auto with "int*" to fix
Using trunk @r216408:
r216408/bin/g++ -c -std=c++11 t.ii
t.ii:2:34: internal compiler error: in layout_type, at stor-layout.c:2398
auto __attribute__ ((may_alias)) a = b;
^
0xbef8f3 layout_type(tree_node*)
../../gcc/stor-layout.c:2398
0xe36955 type_hash_canon(unsigned int, tree_node*)
../../gcc/tree.c:6821
0xe5344c build_type_attribute_qual_variant(tree_node*, tree_node*, int)
../../gcc/tree.c:4668
0x7a4966 decl_attributes(tree_node**, tree_node*, int)
../../gcc/attribs.c:621
0x670604 cplus_decl_attributes(tree_node**, tree_node*, int)
../../gcc/cp/decl2.c:1470
0x5d1162 start_decl(cp_declarator const*, cp_decl_specifier_seq*, int,
tree_node*, tree_node*, tree_node**)
../../gcc/cp/decl.c:4630
0x6b9a2a cp_parser_init_declarator
../../gcc/cp/parser.c:17060
0x6bb559 cp_parser_simple_declaration
../../gcc/cp/parser.c:11538
0x69b0d3 cp_parser_block_declaration
../../gcc/cp/parser.c:11419
0x6c6df9 cp_parser_declaration
../../gcc/cp/parser.c:11316
0x6c5a3a cp_parser_declaration_seq_opt
../../gcc/cp/parser.c:11202
0x6c72e2 cp_parser_translation_unit
../../gcc/cp/parser.c:4090
0x6c72e2 c_parse_file()
../../gcc/cp/parser.c:32207
0x7f1942 c_common_parse_file()
../../gcc/c-family/c-opts.c:1046
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
Also broken in gcc-4.8
More information about the Gcc-bugs
mailing list