https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106259
Bug ID: 106259
Summary: ICE in diag_mismatched_tags, at cp/parser.cc:33896
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: [email protected]
Target Milestone: ---
Started with r10 and file g++.dg/template/dependent-name11.C :
$ gcc-13-20220710 -c dependent-name11.C -Wmismatched-tags
dependent-name11.C:15:1: internal compiler error: in diag_mismatched_tags, at
cp/parser.cc:33896
15 | }
| ^
0x904c4d class_decl_loc_t::diag_mismatched_tags(tree_node*)
../../gcc/cp/parser.cc:33896
0x90b465 class_decl_loc_t::diag_mismatched_tags()
../../gcc/cp/parser.cc:34018
0x9550cd c_parse_file()
../../gcc/cp/parser.cc:48482
0xae8181 c_common_parse_file()
../../gcc/c-family/c-opts.cc:1235