[Bug target/15617] building groff-1.19.1 with "-Os -march=pentium4" causes sig 11
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Jun 2 01:58:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list