http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60929

            Bug ID: 60929
           Summary: [4.8/4.9/4.10 regression] ICE  in get_ref_die_offset,
                    at dwarf2out.c
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ppluzhnikov at google dot com

Created attachment 32658
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32658&action=edit
test case

Using trunk @r209546:

g++ -fdebug-types-section -gdwarf-4 -fmax-errors=1 '-std=gnu++11' -S t.cc &&
echo OK
OK

g++ -fdebug-types-section -gdwarf-4 -fmax-errors=1 '-std=gnu++11' -S t.cc -O2
t.cc:84:1: internal compiler error: in get_ref_die_offset, at dwarf2out.c:3553
 }
 ^
0x892691 get_ref_die_offset
        ../../gcc/dwarf2out.c:3553
0x892691 output_loc_operands
        ../../gcc/dwarf2out.c:2081
0x892691 output_loc_sequence(dw_loc_descr_node*, int)
        ../../gcc/dwarf2out.c:2127
0x892eff output_die
        ../../gcc/dwarf2out.c:8558
0x892821 output_die
        ../../gcc/dwarf2out.c:8761
0x892821 output_die
        ../../gcc/dwarf2out.c:8761
0x892821 output_die
        ../../gcc/dwarf2out.c:8761
0x892821 output_die
        ../../gcc/dwarf2out.c:8761
0x892821 output_die
        ../../gcc/dwarf2out.c:8761
0x896841 output_comdat_type_unit
        ../../gcc/dwarf2out.c:9032
0x8b7b69 dwarf2out_finish
        ../../gcc/dwarf2out.c:24255
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.

Google ref: b/14230806

Reply via email to