[Bug target/27537] XMM alignment fault when compiling for i386 with -Os
vda dot linux at googlemail dot com
gcc-bugzilla@gcc.gnu.org
Mon Jul 23 00:04:00 GMT 2007
------- Comment #15 from vda dot linux at googlemail dot com 2007-07-23 00:03 -------
Disadvantages of enforcing 16-bytes stack alignment, continued:
* Code to align the stack is generated when we call a function, even when this
function isn't going to use SSE. Which is ~90% of all functions out there.
* gcc-generated SSE code will still crash if called from code compiled by older
gcc on non-gcc compiler which chose to not align stack. Note that alternative
approach (to align stack _in the function which needs it_) will not crash if
called by code generated by old or new gcc. I like it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27537
More information about the Gcc-bugs
mailing list