https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85302
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-04-10 Version|7.3.1 |8.0.1 Target Milestone|--- |8.0 Ever confirmed|0 |1 --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Confirmed on x86_64-linux with > ./cc1plus -quiet t.ii -std=c++11 -gsplit-dwarf -O1 -m32 -fPIE t.ii:11:27: internal compiler error: in size_of_loc_descr, at dwarf2out.c:1771 void f() { e.d(""); } ^ 0xd68549 size_of_loc_descr ../../src/trunk/gcc/dwarf2out.c:1771 0xd689b5 size_of_locs(dw_loc_descr_node*) ../../src/trunk/gcc/dwarf2out.c:1967 0xd75a7d skip_loc_list_entry ../../src/trunk/gcc/dwarf2out.c:10047 0xdaf70d index_location_lists as Jakub said -gsplit-dwarf is unmaintained (and I hope it gets purged at some point). #1 0x0000000000d6854a in size_of_loc_descr (loc=0x7ffff6c66e10) at ../../src/trunk/gcc/dwarf2out.c:1771 1771 gcc_assert (loc->dw_loc_oprnd1.val_entry->index != NO_INDEX_ASSIGNED); (gdb) l 1766 case DW_OP_addr: 1767 size += DWARF2_ADDR_SIZE; 1768 break; 1769 case DW_OP_GNU_addr_index: 1770 case DW_OP_GNU_const_index: 1771 gcc_assert (loc->dw_loc_oprnd1.val_entry->index != NO_INDEX_ASSIGNED);