]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c/ChangeLog
re PR c/65050 (Show the type for "array type has incomplete element type" error)
authorMarek Polacek <polacek@redhat.com>
Fri, 13 Feb 2015 22:07:36 +0000 (22:07 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Fri, 13 Feb 2015 22:07:36 +0000 (22:07 +0000)
commite5d9235ba945870c20a70499d5565edfb2bd4264
tree50442a9d007f4a9fd04ac483f5f356867e8c3cd7
parentef796bef889d8a1590430a9da06c40ec4977d79e
re PR c/65050 (Show the type for "array type has incomplete element type" error)

PR c/65050
* c-decl.c (grokdeclarator): Print also the type when giving
the error message about array's incomplete element type.

* gcc.dg/pr65050.c: New test.

From-SVN: r220698
gcc/c/ChangeLog
gcc/c/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr65050.c [new file with mode: 0644]