re PR c++/23337 (ICE initializing array of vectors in C++)
authorIan Lance Taylor <ian@airs.com>
Tue, 16 Aug 2005 22:07:44 +0000 (22:07 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 16 Aug 2005 22:07:44 +0000 (22:07 +0000)
commitcf0efa6a7633deb6a80e7219575b2fdfb69e2c27
treea61d00d65e5140666f1fdfd18aab7570654f4aea
parent3a69437a558c349d1ddfbf8a38a91b914bcb092b
re PR c++/23337 (ICE initializing array of vectors in C++)

./ PR c++/23337
* gimplify.c (gimplify_init_ctor_eval): If we see an element of
vector type, don't try to construct it element by element.  Add an
assertion that we use a FIELD_DECL when building a COMPONENT_REF.
testsuite/
PR c++/23337
* g++.dg/ext/vector2.C: New.

From-SVN: r103177
gcc/ChangeLog
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/vector2.C [new file with mode: 0644]