https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90981
Bug ID: 90981
Summary: [9/10 Regression] ICE in dwarf2out_finish, at
dwarf2out.c:31644
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: [email protected]
Target Milestone: ---
Started with gcc-9 (before 20180513) :
$ cat z1.cc
namespace { struct t {}; }
t f () { return t (); }
$ g++-8 -c z1.cc -O2 -g -gdwarf-5 -gsplit-dwarf
$ g++-10-20190623 -c z1.cc -O2 -g -gdwarf -gsplit-dwarf
$
$ g++-10-20190623 -c z1.cc -O2 -g -gdwarf-5 -gsplit-dwarf
z1.cc:2:23: internal compiler error: Segmentation fault
2 | t f () { return t (); }
| ^
0xe49def crash_signal
../../gcc/toplev.c:326
0xa87694 void hash_table<addr_hasher, false,
xcallocator>::traverse_noresize<unsigned int*,
&(count_index_addrs(addr_table_entry**, unsigned int*))>(unsigned int*)
../../gcc/hash-table.h:1080
0xa87694 dwarf2out_finish
../../gcc/dwarf2out.c:31644