re PR c++/11614 (Incorrect handling of pointers to arrays)
authorNathan Sidwell <nathan@codesourcery.com>
Tue, 22 Jul 2003 16:49:48 +0000 (16:49 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 22 Jul 2003 16:49:48 +0000 (16:49 +0000)
commit817aed6fc35ad24f7a04f6a9ac6616d4a6915ff4
tree9645e711506a5ff94abebf6f0db96dfe083c339e
parenta2f7be91fc5f7347408fb24fe132194be4860bec
re PR c++/11614 (Incorrect handling of pointers to arrays)

cp:
PR c++/11614
* decl.c (grokdeclarator): An array member is only a flexible
array member if the field itself is the array.
testsuite:
* g++.dg/ext/flexary1.C: New test.

From-SVN: r69673
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/flexary1.C [new file with mode: 0644]