[Bug c/65050] Show the type for "array type has incomplete element type" error
mpolacek at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 13 22:08:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65050
--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Fri Feb 13 22:07:36 2015
New Revision: 220698
URL: https://gcc.gnu.org/viewcvs?rev=220698&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gcc.dg/pr65050.c
Modified:
trunk/gcc/c/ChangeLog
trunk/gcc/c/c-decl.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list