https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89498
--- Comment #2 from G. Steinmetz <gs...@t-online.de> --- Hm, on my environment it's not necessary to include <math.h>, can therefore be omitted. But that case was only exemplary. You can try to catch the other ones, e.g. simply looping over ### export LANG=C cd gcc/testsuite for i in */*.[cC] */*/*.[cC] */*/*/*.[cC] do timeout 2.0 gcc-9-20190224 -c $i -O2 -gdwarf-5 -gsplit-dwarf done > _list 2>&1 grep -i 'internal compiler' _list grep -i 'internal compiler' _list | wc -l ### Or alternatively one combination out of : -O2 -gdwarf -gsplit-dwarf -O2 -gdwarf-5 -gsplit-dwarf -O2 -gdwarf-4 -gsplit-dwarf -O2 -g -gdwarf-5 -gsplit-dwarf It would be very astonishing if nothing comes out there ... On my plain vanilla test PC above loop finds 19341 cases with ICE : $ grep -i 'internal compiler' _list | wc -l 19341 Including another ICE group (closely related or not) with 2327 failing cases, e.g. : $ gcc-9-20190224 -c gcc.dg/align-2.c -O2 -gdwarf-5 -gsplit-dwarf gcc.dg/align-2.c:6:1: internal compiler error: Segmentation fault 6 | extern char compile_time_assert[__alignof__(v4) == sizeof(float)*4 ? 1 : -1]; | ^~~~~~ 0xa89c1f crash_signal ../../gcc/toplev.c:326 0x797b34 void hash_table<addr_hasher, xcallocator>::traverse_noresize<unsigned int*, &(count_index_addrs(addr_table_entry**, unsigned int*))>(unsigned int*) ../../gcc/hash-table.h:965 0x797b34 dwarf2out_finish ../../gcc/dwarf2out.c:31551