This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r154239 - in /branches/gcc-4_4-branch/gcc: cp/C...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 17 Nov 2009 07:21:44 -0000
- Subject: r154239 - in /branches/gcc-4_4-branch/gcc: cp/C...
Author: jakub
Date: Tue Nov 17 07:21:43 2009
New Revision: 154239
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154239
Log:
PR c++/42059
* typeck.c (cp_build_modify_expr): For initializer list call
check_array_initializer to make sure lhs isn't a VLA.
* g++.dg/cpp0x/initlist26.C: New test.
Added:
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/cpp0x/initlist26.C
Modified:
branches/gcc-4_4-branch/gcc/cp/ChangeLog
branches/gcc-4_4-branch/gcc/cp/typeck.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog