re PR debug/80461 (ICE in modified_type_die, at dwarf2out.c:12566)
authorJakub Jelinek <jakub@redhat.com>
Wed, 19 Apr 2017 16:32:02 +0000 (18:32 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 19 Apr 2017 16:32:02 +0000 (18:32 +0200)
commitf19e6a9c0b51bb432f9754d489f369ab9c9ac052
treef4d4845cd009ac8566bc78439f6aebb91075984a
parent541035a63b8adc3900ca0d335382c2808228f191
re PR debug/80461 (ICE in modified_type_die, at dwarf2out.c:12566)

PR debug/80461
* dwarf2out.c (modified_type_die, gen_type_die_with_usage):
Check for t with zero TYPE_QUALS_NO_ADDR_SPACE.

* g++.dg/debug/pr80461.C: New test.

From-SVN: r247002
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/pr80461.C [new file with mode: 0644]