------- Comment #8 from agner at agner dot org 2006-08-03 20:20 ------- hjl wrote: >Apparently, it was done on purpose
Yes, the -Os non-alignment was obviously done on purpose. The problem is that other modules that may be called from the -Os module rely on the stack being aligned by 16. The wrong alignment makes the program crash whem xmm registers are used. The alignment must be strictly enforced in the ABI if any function relies on it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27537