re PR debug/80234 (ICE in splice_child_die at dwarfout.c:5265)
authorJakub Jelinek <jakub@redhat.com>
Thu, 6 Apr 2017 20:46:29 +0000 (22:46 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 6 Apr 2017 20:46:29 +0000 (22:46 +0200)
commited3cd38d63e8af971469f5eb551f8cfc08a83f09
treead9d43a716508a1d3627dc4f83184c729135240b
parent926e747845a2cb5782942735d28abf479c2d825c
re PR debug/80234 (ICE in splice_child_die at dwarfout.c:5265)

PR debug/80234
* dwarf2out.c (gen_member_die): Handle C++17 inline static data
members with redundant out-of-class redeclaration.

* g++.dg/debug/dwarf2/pr80234-1.C: New test.
* g++.dg/debug/dwarf2/pr80234-2.C: New test.

From-SVN: r246743
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/dwarf2/pr80234-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/debug/dwarf2/pr80234-2.C [new file with mode: 0644]