decl.c (reshape_init_r): Handle a single element of vector type.
authorMarc Glisse <marc.glisse@inria.fr>
Wed, 16 Apr 2014 20:46:47 +0000 (22:46 +0200)
committerMarc Glisse <glisse@gcc.gnu.org>
Wed, 16 Apr 2014 20:46:47 +0000 (20:46 +0000)
commitfcde53d03f7c4338c4cf5a27c56606fa64b8c554
treea9a64dd0ecdfe0cffb3307ff9932d21e61c70b20
parent73cc28d4e7afd539934e7033d0e6dea6c8265852
decl.c (reshape_init_r): Handle a single element of vector type.

2014-04-16  Marc Glisse  <marc.glisse@inria.fr>

gcc/cp/
* decl.c (reshape_init_r): Handle a single element of vector type.
gcc/testsuite/
* g++.dg/cpp0x/initlist-vect.C: New file.

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