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

            Bug ID: 80461
           Summary: [7 Regression] ICE in modified_type_die, at
                    dwarf2out.c:12566
           Product: gcc
           Version: 7.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: ian at airs dot com
  Target Milestone: ---

Created attachment 41224
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41224&action=edit
tset-case

After r245039, we ICE on attached test-case:

$ g++ ice.ii -c -g
ice.ii:47:1: internal compiler error: in modified_type_die, at
dwarf2out.c:12566
 }
 ^
0xa7eaea modified_type_die
        ../../gcc/dwarf2out.c:12566
0xa7ec84 add_type_attribute
        ../../gcc/dwarf2out.c:20595
0xa6b7ce generic_parameter_die
        ../../gcc/dwarf2out.c:12880
0xa6be61 gen_generic_params_dies
        ../../gcc/dwarf2out.c:12805
0xa6ceae gen_subprogram_die
        ../../gcc/dwarf2out.c:22315
0xa70986 force_decl_die
        ../../gcc/dwarf2out.c:25031
0xa6e24b gen_subprogram_die
        ../../gcc/dwarf2out.c:21880
0xa6f43c gen_decl_die
        ../../gcc/dwarf2out.c:25320
0xa7040e dwarf2out_decl
        ../../gcc/dwarf2out.c:25829
0xa8dc17 dwarf2out_early_global_decl
        ../../gcc/dwarf2out.c:25486
0x9f6d88 symbol_table::finalize_compilation_unit()
        ../../gcc/cgraphunit.c:2617

Reply via email to