https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87295
Bug ID: 87295 Summary: ICE with -ffat-lto-objects -fdebug-types-section -g Product: gcc Version: 9.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: --- Created attachment 44691 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44691&action=edit testcase ./cc1plus -fpreprocessed bug.ii -flto -ffat-lto-objects -fdebug-types-section -g -std=gnu++17 bug.ii: At top level: bug.ii:17:4: internal compiler error: Segmentation fault 17 | { }; | ^ 0x135b276 crash_signal /home/nathans/egcs/trunk/obj/x86_64/../../src/gcc/toplev.c:325 0x7fd5e7842f2f ??? /usr/src/debug/glibc-2.27-78-g2b47bb9cba/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0 0x2245c90 htab_hash_string /home/nathans/egcs/trunk/obj/x86_64/../../src/libiberty/hashtab.c:838 0xdc4487 hash_table<external_ref_hasher, xcallocator>::find_slot(external_ref* const&, insert_option) /home/nathans/egcs/trunk/obj/x86_64/../../src/gcc/hash-table.h:414 0xd7be32 lookup_external_ref /home/nathans/egcs/trunk/obj/x86_64/../../src/gcc/dwarf2out.c:8954 0xd7bed9 optimize_external_refs_1 /home/nathans/egcs/trunk/obj/x86_64/../../src/gcc/dwarf2out.c:8981 0xd7bfc5 optimize_external_refs_1 /home/nathans/egcs/trunk/obj/x86_64/../../src/gcc/dwarf2out.c:8996 0xd7c122 optimize_external_refs /home/nathans/egcs/trunk/obj/x86_64/../../src/gcc/dwarf2out.c:9045 0xd80c1a output_comp_unit /home/nathans/egcs/trunk/obj/x86_64/../../src/gcc/dwarf2out.c:11053 0xdb9849 dwarf2out_finish /home/nathans/egcs/trunk/obj/x86_64/../../src/gcc/dwarf2out.c:31544