[Bug c++/80891] [8 Regression] Three new ICEs
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon May 29 19:12:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80891
--- Comment #7 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Thanks for the fixes.
Here is a new issue:
4)
% cat vf2_sub_graph_iso_test.ii
namespace tuples {
template <class, class> void get();
template <int> void get();
}
using tuples::get;
template <class RandomAccessIterator> void make_iterator_vertex_map() {
RandomAccessIterator a;
a, get;
}
template <class> void get();
% g++ -c vf2_sub_graph_iso_test.ii
vf2_sub_graph_iso_test.ii:10:27: internal compiler error: in ovl_insert, at
cp/tree.c:2173
template <class> void get();
^
0x8358dc ovl_insert(tree_node*, tree_node*, bool)
../../gcc/gcc/cp/tree.c:2172
0x741936 update_binding
../../gcc/gcc/cp/name-lookup.c:1692
0x741936 do_pushdecl
../../gcc/gcc/cp/name-lookup.c:2338
0x741936 pushdecl(tree_node*, bool)
../../gcc/gcc/cp/name-lookup.c:2383
0x7436d3 pushdecl_with_scope_1
../../gcc/gcc/cp/name-lookup.c:3255
0x7438af pushdecl_namespace_level(tree_node*, bool)
../../gcc/gcc/cp/name-lookup.c:4455
0x7f1d20 push_template_decl_real(tree_node*, bool)
../../gcc/gcc/cp/pt.c:5592
0x6c33dc start_decl(cp_declarator const*, cp_decl_specifier_seq*, int,
tree_node*, tree_node*, tree_node**)
../../gcc/gcc/cp/decl.c:5097
0x77d6d9 cp_parser_init_declarator
../../gcc/gcc/cp/parser.c:19264
0x786077 cp_parser_single_declaration
../../gcc/gcc/cp/parser.c:26748
0x78619c cp_parser_template_declaration_after_parameters
../../gcc/gcc/cp/parser.c:26352
0x786bd2 cp_parser_explicit_template_declaration
../../gcc/gcc/cp/parser.c:26588
0x786bd2 cp_parser_template_declaration_after_export
../../gcc/gcc/cp/parser.c:26606
0x7871d9 cp_parser_declaration
../../gcc/gcc/cp/parser.c:12472
0x7874f6 cp_parser_declaration_seq_opt
../../gcc/gcc/cp/parser.c:12399
0x787828 cp_parser_translation_unit
../../gcc/gcc/cp/parser.c:4364
0x787828 c_parse_file()
../../gcc/gcc/cp/parser.c:38475
0x8caac6 c_common_parse_file()
../../gcc/gcc/c-family/c-opts.c:1104
More information about the Gcc-bugs
mailing list