* c-typeck.c (c_incomplete_type_error): Refactor to use %qT. Print
commit98f44804b62d82cefc77c372bca21fa72859003b
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Apr 2015 09:35:05 +0000 (30 09:35 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 30 Apr 2015 09:35:05 +0000 (30 09:35 +0000)
treed6bafc73f07c3c0bb3449ddd288ff6407ffd6869
parent6fa7118e0d48ef77498418b03dab0f6092f6596e
* c-typeck.c (c_incomplete_type_error): Refactor to use %qT.  Print
the type of a decl.

* gcc.dg/incomplete-typedef-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@222614 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c/ChangeLog
gcc/c/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/incomplete-typedef-1.c [new file with mode: 0644]