This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51619] [c++0x] [4.6/4.7 Regression] ICE with array class member


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]