------- Comment #5 from hjl dot tools at gmail dot com  2008-08-04 05:52 -------
It is the problem with -mno-accumulate-outgoing-args:

bash-3.2$ /export/build/gnu/gcc-avx/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc-avx/build-x86_64-linux/gcc/ -m32 -msse2 -DDEBUG
-mno-accumulate-outgoing-args -mpreferred-stack-boundary=2    y.c   -o y
bash-3.2$ ./y
Segmentation fault
bash-3.2$ /export/build/gnu/gcc-avx/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc-avx/build-x86_64-linux/gcc/ -m32 -msse2 -DDEBUG 
-mpreferred-stack-boundary=2    y.c   -o y
bash-3.2$ ./y
bash-3.2$ 


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|http://gcc.gnu.org/ml/gcc-  |
                   |patches/2008-               |
                   |08/msg00123.html            |
            Summary|-Os passes __m128 on stack  |-mno-accumulate-outgoing-
                   |with wrong alignment        |args doesn't work with stack
                   |                            |alignment


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37010

Reply via email to