OSDN Git Service

PR c++/51619
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Dec 2011 15:38:06 +0000 (15:38 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Dec 2011 15:38:06 +0000 (15:38 +0000)
commit33185aa69c0b8ef353c75256989d91534958492a
tree870e64d07402b28f8b627125be106ac5ceb754bb
parent1e22193c6d05655022177161f87b0d1798492926
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182485 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr51619.C [new file with mode: 0644]