re PR c/36432 (“incompatible pointer type” with pointer to array as a struct member)
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. From-SVN: r143989
Showing
gcc/testsuite/gcc.dg/c90-flex-array-2.c
0 → 100644
gcc/testsuite/gcc.dg/c99-flex-array-6.c
0 → 100644
Please
register
or
sign in
to comment