re PR debug/85176 (ICE in force_decl_die, at dwarf2out.c:25910)
authorRichard Biener <rguenther@suse.de>
Wed, 4 Apr 2018 14:11:39 +0000 (14:11 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 4 Apr 2018 14:11:39 +0000 (14:11 +0000)
commitf3ac6d2c51d007e000f92db06043f0f4683695bc
treee6c217a905d591203ff84ae0b003e2fb5a3f6f5f
parentb43502719f0727864d5a19fe08a081a334022e42
re PR debug/85176 (ICE in force_decl_die, at dwarf2out.c:25910)

2018-04-04  Richard Biener  <rguenther@suse.de>

PR lto/85176
* dwarf2out.c (dwarf2out_register_external_die): Peel namespaces
from contexts for DINFO_LEVEL_TERSE and below.

* g++.dg/lto/pr85176_0.C: New testcase.

From-SVN: r259080
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/pr85176_0.C [new file with mode: 0644]