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

            Bug ID: 100447
           Summary: gcc-9 -c -gsplit-dwarf -gdwarf-5 ICEs on an empty file
           Product: gcc
           Version: 9.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at debian dot org
  Target Milestone: ---

seen with the current gcc-9 branch, seen at least on x86_64 and aarch64, works
with 10 and 11:

$ touch empty.i

$ gcc-9 -c -gsplit-dwarf -gdwarf-5 empty.i 
empty.i:1: internal compiler error: Segmentation fault
0xa0e64f crash_signal
        ../../src/gcc/toplev.c:326
0x730128 void hash_table<addr_hasher, false,
xcallocator>::traverse_noresize<unsigned int*,
&(count_index_addrs(addr_table_entry**, unsigned int*))>(unsigned int*)
        ../../src/gcc/hash-table.h:1026
0x730128 dwarf2out_finish
        ../../src/gcc/dwarf2out.c:31686
Please submit a full bug report,
with preprocessed source if appropriate.

Reply via email to