------- Comment #3 from jsm28 at gcc dot gnu dot org 2009-02-06 20:12 ------- Subject: Bug 36432
Author: jsm28 Date: Fri Feb 6 20:12:10 2009 New Revision: 143989 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143989 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: trunk/gcc/testsuite/gcc.dg/c90-flex-array-2.c trunk/gcc/testsuite/gcc.dg/c99-flex-array-6.c Modified: trunk/gcc/ChangeLog trunk/gcc/c-decl.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36432