* typeck2.c (digest_init): Do handle values of vector type.
From-SVN: r49736
This commit is contained in:
parent
1eca751e4b
commit
bb26522d7b
@ -1,5 +1,7 @@
|
||||
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. */
|
||||
|
Loading…
Reference in New Issue
Block a user