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

            Bug ID: 90914
           Summary: [10 Regression] ICE in
                    schedule_generic_params_dies_gen, at dwarf2out.c:27153
           Product: gcc
           Version: 10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gs...@t-online.de
  Target Milestone: ---

Changed between 20190526 and 20190602 :


$ cat z1.cc
template <class> class A;
void f ()
{
  extern A <double> b;
}


$ g++-10-20190526 -c z1.cc -g
$
$ g++-10-20190616 -c z1.cc -g
during RTL pass: final
z1.cc: In function 'void f()':
z1.cc:5:1: internal compiler error: in schedule_generic_params_dies_gen, at
dwarf2out.c:27153
    5 | }
      | ^
0x88dc5b schedule_generic_params_dies_gen
        ../../gcc/dwarf2out.c:27153
0x88dc5b gen_struct_or_union_type_die
        ../../gcc/dwarf2out.c:25298
0x88dc5b gen_tagged_type_die
        ../../gcc/dwarf2out.c:25538
0x88e1a6 gen_type_die_with_usage
        ../../gcc/dwarf2out.c:25733
0x88eb26 gen_type_die
        ../../gcc/dwarf2out.c:25787
0x88f24b modified_type_die
        ../../gcc/dwarf2out.c:13444
0x891f96 add_type_attribute
        ../../gcc/dwarf2out.c:21692
0x8a26bd gen_variable_die
        ../../gcc/dwarf2out.c:23947
0x88b320 gen_decl_die
        ../../gcc/dwarf2out.c:26479
0x8a5432 process_scope_var
        ../../gcc/dwarf2out.c:25940
0x8a588f decls_for_scope
        ../../gcc/dwarf2out.c:25966
0x887b52 gen_subprogram_die
        ../../gcc/dwarf2out.c:23432
0x88b1a4 gen_decl_die
        ../../gcc/dwarf2out.c:26396
0x88bda6 dwarf2out_decl
        ../../gcc/dwarf2out.c:26964
0x88c49e dwarf2out_function_decl
        ../../gcc/dwarf2out.c:26979
0x8f8cd9 rest_of_handle_final
        ../../gcc/final.c:4695
0x8f8cd9 execute
        ../../gcc/final.c:4737

Reply via email to