PATCH: alignment bug in gcc i386 crtfastmath.c

Andrew Pinski pinskia@physics.uc.edu
Sat Mar 18 16:46:00 GMT 2006


On Mar 18, 2006, at 11:43 AM, Lu, Hongjiu wrote:

> Can you try this patch?
>
> Since __attribute__ ((aligned (XX))) doesn't work for stack variables,
> is there a gcc option to warn it?

Actually that is not true, it does work in general except when the stack
is required only to be not 16byte aligned.
I know on powerpc-darwin, it works for sure since there it is required 
to
be 16byte aligned.


-- Pinski



More information about the Gcc-patches mailing list