Arranging for -Os to imply -mpreferred-stack-boundary=2 on x86

Richard Henderson rth@redhat.com
Wed Oct 24 13:21:00 GMT 2001


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~



More information about the Gcc-patches mailing list