c-objc-common.c (c_tree_printer): For a typedef name, print the stripped version...
authorMarek Polacek <polacek@redhat.com>
Thu, 30 Oct 2014 17:22:12 +0000 (17:22 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Thu, 30 Oct 2014 17:22:12 +0000 (17:22 +0000)
commit2d51fcef56807789d5a6d929174a4581bd9e2ce3
tree2fd76e3280f97f23caaf399ce9bfb9c9683bd287
parentf1308e4b82467d9293ed989ff3e5a191a76fbef4
c-objc-common.c (c_tree_printer): For a typedef name, print the stripped version as well, if they're not the same.

* c-objc-common.c (c_tree_printer) <case 'T'>: For a typedef name,
print the stripped version as well, if they're not the same.

* gcc.dg/diag-aka-1.c: New test.
* gcc.dg/pr13804-1.c: Adjust dg-error.
* gcc.dg/redecl-14.c: Likewise.
* gcc.dg/pr56980.c: Adjust dg-message.

From-SVN: r216941
gcc/c/ChangeLog
gcc/c/c-objc-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/diag-aka-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr13804-1.c
gcc/testsuite/gcc.dg/pr56980.c
gcc/testsuite/gcc.dg/redecl-14.c