Skip to content
Snippets Groups Projects
Commit cf0efa6a authored by Ian Lance Taylor's avatar Ian Lance Taylor Committed by Ian Lance Taylor
Browse files

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
parent 3a69437a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment