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