ABI voilation

Ian Lance Taylor iant@google.com
Tue Oct 9 15:43:00 GMT 2007


Andrew Haley <aph-gcc@littlepinkcloud.COM> writes:

> Geer Bosch asked "Can't we just explicitly align the stack frame to
> 128-bits during the function prologue, when we know that there are
> locals that require such alignment?"  This seems so obvious that I
> can't understand why it hasn't been done.

If you don't trust your startup code, use -mstackrealign or the
force_align_arg_pointer function attribute.

We don't do it by default because it is slower and most people don't
need it.

Ian



More information about the Gcc-help mailing list