re PR debug/79000 (ICE: in gen_member_die, at dwarf2out.c:23995)
authorRichard Biener <rguenther@suse.de>
Mon, 9 Jan 2017 08:22:58 +0000 (08:22 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 9 Jan 2017 08:22:58 +0000 (08:22 +0000)
commit813b9c0d3a1b95c653bea8db73d7971ac600b68e
tree5f29b06b53655844bba46ec76d7289ef827b1975
parentd86c3c0226d97ca68aa5ee65ce98778ad50e1b74
re PR debug/79000 (ICE: in gen_member_die, at dwarf2out.c:23995)

2017-01-09  Richard Biener  <rguenther@suse.de>

PR debug/79000
* dwarf2out.c (is_cxx): New overload with context.
(is_naming_typedef_decl): Use it.

* g++.dg/lto/pr79000_0.C: New testcase.
* g++.dg/lto/pr79000_1.c: Likewise.

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