https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60335
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |error-recovery, | |ice-on-invalid-code Status|UNCONFIRMED |NEW Last reconfirmed| |2015-02-10 Ever confirmed|0 |1 --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed, still happens on the trunk as of today. The full backtrace: t.cc:3:37: error: types may not be defined in parameter types int baz1(void bar0, struct bar0 {} bar3); ^ t.cc:3:44: internal compiler error: in pop_binding, at cp/name-lookup.c:391 int baz1(void bar0, struct bar0 {} bar3); ^ 0x7b46bf pop_binding(tree_node*, tree_node*) ../../gcc/cp/name-lookup.c:391 0x7b5447 pop_bindings_and_leave_scope() ../../gcc/cp/name-lookup.c:413 0x6e9817 cp_parser_direct_declarator ../../gcc/cp/parser.c:17620 0x6e9817 cp_parser_declarator ../../gcc/cp/parser.c:17422 0x6d8e97 cp_parser_member_declaration ../../gcc/cp/parser.c:20963 0x6e52bf cp_parser_member_specification_opt ../../gcc/cp/parser.c:20645 0x6e52bf cp_parser_class_specifier_1 ../../gcc/cp/parser.c:19837 0x6e52bf cp_parser_class_specifier ../../gcc/cp/parser.c:20073 0x6e52bf cp_parser_type_specifier ../../gcc/cp/parser.c:14718 0x6e79e3 cp_parser_decl_specifier_seq ../../gcc/cp/parser.c:11951 0x70058f cp_parser_simple_declaration ../../gcc/cp/parser.c:11528 0x700b07 cp_parser_block_declaration ../../gcc/cp/parser.c:11475 0x7096bb cp_parser_declaration ../../gcc/cp/parser.c:11372 0x70998b cp_parser_declaration_seq_opt ../../gcc/cp/parser.c:11258 0x709d47 cp_parser_translation_unit ../../gcc/cp/parser.c:4109 0x709d47 c_parse_file() ../../gcc/cp/parser.c:33176 0x84cc83 c_common_parse_file() ../../gcc/c-family/c-opts.c:1052 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report.