re PR lto/83719 (ICE (segfault) in hash_table<indirect_string_hasher, xcallocator...
authorRichard Biener <rguenther@suse.de>
Mon, 8 Jan 2018 13:13:48 +0000 (13:13 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 8 Jan 2018 13:13:48 +0000 (13:13 +0000)
commit131a0e78b01cf4a280d0ad861e75ef35eb050d29
treee5595f68928e3529c93f816e4f49aa7c96cc5656
parent4135a21f4dc1b490446722a40ce113a0f7a28305
re PR lto/83719 (ICE (segfault) in hash_table<indirect_string_hasher, xcallocator>::elements())

2018-01-08  Richard Biener  <rguenther@suse.de>

PR lto/83719
* dwarf2out.c (output_indirect_strings): Handle empty
skeleton_debug_str_hash.
(dwarf2out_early_finish): Index strings for -gsplit-dwarf.

* gcc.dg/lto/pr83719_0.c: New testcase.

From-SVN: r256338
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/lto/pr83719_0.c [new file with mode: 0644]