This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Arranging for -Os to imply -mpreferred-stack-boundary=2 on x86
On Wed, Oct 24, 2001 at 06:15:24PM -0200, Alexandre Oliva wrote:
> > I'd rather detect the required alignment of a function than use
> > an attribute.
>
> This wouldn't work in case of separate compilation.
Separate compilation has zero to do with this. A function either
has variables in its stack frame that require special alignment or
it doesn't. If it does, then it can align the frame itself.
r~