[Bug c++/51619] [c++0x] [4.6/4.7 Regression] ICE with array class member
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 19 15:43:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51619
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-19 15:38:09 UTC ---
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
More information about the Gcc-bugs
mailing list