[Bug c++/46688] [4.6 Regression] g++ requires a function declaration when it should not
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 14 13:17:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46688
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2011-01-14 13:08:06 UTC ---
Author: jason
Date: Fri Jan 14 13:08:02 2011
New Revision: 168782
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168782
Log:
PR c++/46688
* tree.c (build_vec_init_expr): Handle flexible array
properly.
Added:
trunk/gcc/testsuite/g++.dg/ext/flexary2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/tree.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list