https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95678

--- Comment #2 from Matthias Klose <doko at debian dot org> ---
the gcc-9 branch from 20200408 works for me. 20200615 also fails.

: In instantiation of ‘decltype (c<b>::d{l}) c<b>::operator()(bb, e) [with bb =
int*; e = unsigned int; b = int*]’:
:9:37: internal compiler error: in dependent_type_p, at cp/pt.c:25619
0x5abade dependent_type_p(tree_node*)
        ../../src/gcc/cp/pt.c:25619
0x5abade dependent_type_p(tree_node*)
        ../../src/gcc/cp/pt.c:25610
0xd9e253 zero_init_expr_p(tree_node*)
        ../../src/gcc/cp/tree.c:4387
0x82b8a7 write_expression
        ../../src/gcc/cp/mangle.c:3177
0x11f7673 write_type
        ../../src/gcc/cp/mangle.c:2307
0xeaef6a write_encoding
        ../../src/gcc/cp/mangle.c:2688
0xeaef6a write_mangled_name
        ../../src/gcc/cp/mangle.c:789
0xeaef6a mangle_decl_string
        ../../src/gcc/cp/mangle.c:3839
0xeacbbf get_mangled_id
        ../../src/gcc/cp/mangle.c:3861
0xeacbbf mangle_decl(tree_node*)
        ../../src/gcc/cp/mangle.c:3899
0xe9b7ef decl_assembler_name(tree_node*)
        ../../src/gcc/tree.c:701
0xe9b7ef symbol_table::insert_to_assembler_name_hash(symtab_node*, bool)
        ../../src/gcc/symtab.c:174
0xe9b7ef symbol_table::insert_to_assembler_name_hash(symtab_node*, bool)
        ../../src/gcc/symtab.c:161
0xe9b7ef symbol_table::symtab_initialize_asm_name_hash()
        ../../src/gcc/symtab.c:266
0xe9b7ef symbol_table::symtab_initialize_asm_name_hash()
        ../../src/gcc/symtab.c:259
0xead95b analyze_functions
        ../../src/gcc/cgraphunit.c:1298
0xeac067 symbol_table::finalize_compilation_unit()
        ../../src/gcc/cgraphunit.c:2837
Please submit a full bug report,
with preprocessed source if appropriate.

Reply via email to