Commit bb26522d by Jason Merrill Committed by Jason Merrill

* typeck2.c (digest_init): Do handle values of vector type.

From-SVN: r49736
parent 1eca751e
2002-02-13 Jason Merrill <jason@redhat.com>
* typeck2.c (digest_init): Do handle values of vector type.
* typeck2.c (digest_init, process_init_constructor): Treat vectors
like arrays.
......
......@@ -598,7 +598,7 @@ digest_init (type, init, tail)
return process_init_constructor (type, 0, tail);
}
if (CLASS_TYPE_P (type))
if (code != ARRAY_TYPE)
{
int flags = LOOKUP_NORMAL;
/* Initialization from { } is copy-initialization. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment