re PR debug/33316 (ICE on valid variable-length automatic array in const struct)
authorJakub Jelinek <jakub@redhat.com>
Thu, 20 Sep 2007 21:27:39 +0000 (23:27 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 20 Sep 2007 21:27:39 +0000 (23:27 +0200)
commitcc459ab40ad75779ba111199bd75437399251cc3
treeaa728aafbbc6b2e5ac493d4b21912cb46a44cf1f
parent4745e4eb75aed535cc05f3393dd1209ffd8bac09
re PR debug/33316 (ICE on valid variable-length automatic array in const struct)

PR debug/33316
* dwarf2out.c (modified_type_die): Handle TYPE_DECL with NULL
DECL_NAME.
* dbxout.c (dbxout_type): Likewise.

* gcc.dg/debug/pr33316.c: New test.

From-SVN: r128631
gcc/ChangeLog
gcc/dbxout.c
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/debug/pr33316.c [new file with mode: 0644]