re PR c++/46688 (g++ requires a function declaration when it should not)
authorJason Merrill <jason@redhat.com>
Fri, 14 Jan 2011 13:08:02 +0000 (08:08 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 14 Jan 2011 13:08:02 +0000 (08:08 -0500)
commit70f961a51eed84328a6c2226d4a72f90801ca3b5
tree0ccd3b413969c837c4e57539fdf78029b0c0ba41
parent8f66db3b32436cd7902dc553cc013dddf5b26b79
re PR c++/46688 (g++ requires a function declaration when it should not)

PR c++/46688
* tree.c (build_vec_init_expr): Handle flexible array
properly.

From-SVN: r168782
gcc/cp/ChangeLog
gcc/cp/tree.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/flexary2.C [new file with mode: 0644]