https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78835
Bug ID: 78835 Summary: [7 regression] ICE with -fdebug-types-section and member function Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: nathan at gcc dot gnu.org Target Milestone: --- In reducing 72828 I stumbled onto a different ICE with: struct Bar { void Baz (); }; void Foo (Bar &t) { t.Baz (); } ./cc1plus -fdebug-types-section -O2 -g bug.ii -quiet ../../../72828.ii:8:1: internal compiler error: in build_abbrev_table, at dwarf2out.c:8587 0xc169f4 build_abbrev_table ../../../src/gcc/dwarf2out.c:8587 0xc16c81 build_abbrev_table ../../../src/gcc/dwarf2out.c:8640 0xc16c81 build_abbrev_table ../../../src/gcc/dwarf2out.c:8640 0xc1a94b output_comp_unit ../../../src/gcc/dwarf2out.c:10297 0xc4bec7 dwarf2out_finish ../../../src/gcc/dwarf2out.c:29551 Please submit a full bug report,