This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r182485 - in /trunk/gcc: cp/ChangeLog cp/semant...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 19 Dec 2011 15:38:07 -0000
- Subject: r182485 - in /trunk/gcc: cp/ChangeLog cp/semant...
Author: jakub
Date: Mon Dec 19 15:38:06 2011
New Revision: 182485
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182485
Log:
PR c++/51619
* semantics.c (cxx_eval_vec_init_1): If init is NULL for
multidimensional array, just set eltinit to NULL_TREE.
* g++.dg/cpp0x/pr51619.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/pr51619.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog