What happens with __attribute__((vector_size(8))) short a = {1, -1};?
Andrew Pinski
pinskia@physics.uc.edu
Thu Jun 19 14:40:00 GMT 2003
On Thursday, Jun 19, 2003, at 10:07 US/Eastern, Aldy Hernandez wrote:
>>> This one, just like structs work:
>>>> {1, -1, 0, 0}
>
> It's supposed to initialize the non existing elements to zero.
>
> I just tried it and it seems like it's horribly broken though.
>
> I'm getting:
>
> (const_vector:V2SI [
> (const_int 1 [0x1])
> (nil)
> ])
>
> ...for a partial initialization of a V2SI value, which is completely
> bogus.
It has been filed under pr 11243.
Thanks,
Andrew Pinski
More information about the Gcc
mailing list