This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: What happens with __attribute__((vector_size(8))) short a = {1, -1};?
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Kazu Hirata <kazu at cs dot umass dot edu>
- Cc: Andrew Pinski <pinskia at physics dot uc dot edu>, gcc at gcc dot gnu dot org
- Date: Wed, 18 Jun 2003 13:42:00 -0400
- Subject: Re: What happens with __attribute__((vector_size(8))) short a = {1, -1};?
On Wednesday, Jun 18, 2003, at 13:39 US/Eastern, Kazu Hirata wrote:
Hi,
When the vector size and the amount of initialization do not match like
__attribute__((vector_size(8))) short a = {1, -1};
what is supposed to happen? Is the initialization assumed to be like
so?
This one, just like structs work:
{1, -1, 0, 0}
Thanks,
Andrew Pinski
Or left uninitialized? Or syntax error?
Thanks,
Kazu Hirata