This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/15617] building groff-1.19.1 with "-Os -march=pentium4" causes sig 11
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jun 2004 01:58:33 -0000
- Subject: [Bug target/15617] building groff-1.19.1 with "-Os -march=pentium4" causes sig 11
- References: <20040523171848.15617.kpfleming@backtobasicsmgmt.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-02 01:58 -------
This looks like a case where the stack pointer is misaligned, movaps requires 16byte (128bit) aligned
addresses So this caused by -Os implying -mpreferred-stack-boundary=32 which is wrong for SSE.
Maybe the fix would be to imply -mpreferred-stack-boundary=128 if -msse (or is it -msse2) is turned
on with -Os, this also causes var_arg25.c (I think) to fail at -Os.
Jan I added you as CC to find your opinion on my suggestion. I think a huge amount of people will run
into this if they used -Os without knowning what is going on.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15617