This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: alignment bug in gcc i386 crtfastmath.c



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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]