https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81917
Bug ID: 81917 Summary: internal compiler error: in finish_member_declaration, at cp/semantics.c:3004 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mpolacek at gcc dot gnu.org Target Milestone: --- The attached preprocessed source file ICEs with: internal compiler error: in finish_member_declaration, at cp/semantics.c:3004 0xa45741 finish_member_declaration(tree_node*) /home/marek/src/gcc/gcc/cp/semantics.c:3004 0x9d442e instantiate_class_template_1 /home/marek/src/gcc/gcc/cp/pt.c:10675 0x9d4fae instantiate_class_template(tree_node*) /home/marek/src/gcc/gcc/cp/pt.c:10892 0xa8e08e complete_type(tree_node*) /home/marek/src/gcc/gcc/cp/typeck.c:136 0x9e42dc tsubst(tree_node*, tree_node*, int, tree_node*) /home/marek/src/gcc/gcc/cp/pt.c:14042 0x9d501e tsubst_template_arg /home/marek/src/gcc/gcc/cp/pt.c:10905 0x9d8267 tsubst_template_args /home/marek/src/gcc/gcc/cp/pt.c:11778 0x9d8efe tsubst_aggr_type /home/marek/src/gcc/gcc/cp/pt.c:11980 0x9e1b5b tsubst(tree_node*, tree_node*, int, tree_node*) /home/marek/src/gcc/gcc/cp/pt.c:13472 0x9df347 tsubst_decl /home/marek/src/gcc/gcc/cp/pt.c:12884 0x9e120b tsubst(tree_node*, tree_node*, int, tree_node*) /home/marek/src/gcc/gcc/cp/pt.c:13389 0x9d416f instantiate_class_template_1 /home/marek/src/gcc/gcc/cp/pt.c:10608 0x9d4fae instantiate_class_template(tree_node*) /home/marek/src/gcc/gcc/cp/pt.c:10892 0xa8e08e complete_type(tree_node*) /home/marek/src/gcc/gcc/cp/typeck.c:136 0x9e42dc tsubst(tree_node*, tree_node*, int, tree_node*) /home/marek/src/gcc/gcc/cp/pt.c:14042 0x9df347 tsubst_decl /home/marek/src/gcc/gcc/cp/pt.c:12884 0x9e120b tsubst(tree_node*, tree_node*, int, tree_node*) /home/marek/src/gcc/gcc/cp/pt.c:13389 0x9d416f instantiate_class_template_1 /home/marek/src/gcc/gcc/cp/pt.c:10608 0x9d4fae instantiate_class_template(tree_node*) /home/marek/src/gcc/gcc/cp/pt.c:10892 0xa8e08e complete_type(tree_node*) /home/marek/src/gcc/gcc/cp/typeck.c:136 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.