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++/48132] [4.6/4.7 Regression] [C++0x] Internal compiler error on array of std::complex with -std=c++0x


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48132

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-16 20:03:17 UTC ---
Author: jason
Date: Wed Mar 16 20:03:12 2011
New Revision: 171065

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171065
Log:
    PR c++/48132
    * decl.c (check_array_designated_initializer): Allow integer index.
    (reshape_init_array_1): Set index on the elements.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/constexpr-array3.C
Modified:
    branches/gcc-4_6-branch/gcc/cp/ChangeLog
    branches/gcc-4_6-branch/gcc/cp/decl.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog


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