re PR c/47939 (Missing DW_TAG_typedef for qualified types)
authorRichard Guenther <rguenther@suse.de>
Mon, 21 Mar 2011 15:32:21 +0000 (15:32 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 21 Mar 2011 15:32:21 +0000 (15:32 +0000)
commit411cdbd841d21a48ebc7f89f6d62c60f3e0dad47
tree7dac4958a64d9e0a01ed6573dd9934b15b0dd2cc
parent1cd9e4164e333f1c4bfc32ed3dd5550b2e625d4a
re PR c/47939 (Missing DW_TAG_typedef for qualified types)

2011-03-21  Richard Guenther  <rguenther@suse.de>

PR c/47939
* c-decl.c (grokdeclarator): Drop to the main variant only
for array types.  Drop flag_gen_aux_info check.

* gcc.dg/debug/dwarf2/pr47939-1.c: New testcase.
* gcc.dg/debug/dwarf2/pr47939-2.c: Likewise.
* gcc.dg/debug/dwarf2/pr47939-3.c: Likewise.
* gcc.dg/debug/dwarf2/pr47939-4.c: Likewise.

From-SVN: r171245
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-2.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-3.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/debug/dwarf2/pr47939-4.c [new file with mode: 0644]