This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Altivec + 16 byte alignment
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: neil at daikokuya dot co dot uk
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 11 Feb 03 17:08:20 EST
- Subject: Re: Altivec + 16 byte alignment
> struct foo {
> int x __attribute__((aligned (512)));
> }
>
> which might, or might not, end up on the stack.
You could diagnose that when the object of that type is declared, just
like we have to make other checks (particularly in C++) at that time.
That won't work for Ada, where you have to give the error on the type
definition if you can't support the type in all valid contexts.