re PR c++/48132 ([C++0x] Internal compiler error on array of std::complex with -std...
authorJason Merrill <jason@redhat.com>
Wed, 16 Mar 2011 20:04:06 +0000 (16:04 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 16 Mar 2011 20:04:06 +0000 (16:04 -0400)
commit0136dc743ab537adaedffe94934c73f05e9d0204
tree950dfde283028dc553b438f7fde310255714debd
parentf8f122781fa0c372ec99151f6584f2678ff4e0fd
re PR c++/48132 ([C++0x] Internal compiler error on array of std::complex with -std=c++0x)

PR c++/48132
* decl.c (check_array_designated_initializer): Allow integer index.
(reshape_init_array_1): Set index on the elements.

From-SVN: r171068
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/constexpr-array3.C [new file with mode: 0644]