This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/27537] XMM alignment fault when compiling for i386 with -Os
- From: "vda dot linux at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jul 2007 00:48:14 -0000
- Subject: [Bug target/27537] XMM alignment fault when compiling for i386 with -Os
- References: <bug-27537-12669@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #16 from vda dot linux at googlemail dot com 2007-07-23 00:48 -------
You have it reversed here:
"8. Stack alignment is already implemented in Gcc and existing code relies on
it."
No, stack alignment is _not_ in current de-facto i386 Linux ABI and there are
tons of existing object code which will call new shiny 4.2.x compiled SSE code
without aligning stack first. kaboom.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27537