This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r144018 - in /branches/gcc-4_3-branch/gcc: Chan...


Author: jsm28
Date: Sun Feb  8 19:01:57 2009
New Revision: 144018

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144018
Log:
	PR c/36432
	* c-decl.c (grokdeclarator): Don't treat [] declarators in fields
	as indicating flexible array members unless the field itself is
	being declarared as the incomplete array.

testsuite:
	* gcc.dg/c90-flex-array-2.c, gcc.dg/c99-flex-array-6.c: New tests.

Added:
    branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/c90-flex-array-2.c
    branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/c99-flex-array-6.c
Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/c-decl.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]