Altivec + 16 byte alignment
Neil Booth
neil@daikokuya.co.uk
Tue Feb 11 22:07:00 GMT 2003
Neil Booth wrote:-
> > 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.
I guess you're saying that the middle end only decides the stack layout
later. I guess. Thanks for persisting. 8-)
Neil.
More information about the Gcc
mailing list