This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r171065 - in /branches/gcc-4_6-branch/gcc: cp/C...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 16 Mar 2011 20:03:13 -0000
- Subject: r171065 - in /branches/gcc-4_6-branch/gcc: cp/C...
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