[Bug target/50725] [4.7 regression] -O3 -mstackrealign -march=core2 generates invalid prologue code in callee procedure
jojelino at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Nov 30 15:24:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50725
gee <jojelino at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #15 from gee <jojelino at gmail dot com> 2011-11-30 13:53:00 UTC ---
$ i686-pc-mingw32-g++ -fverbose-asm -c -O1 -finline-small-functions
-ftree-vectorize -finline-functions -mstackrealign -march=core2 ./pr50725.c
-save-temps;cat pr50725.s|grep "(%ecx)"
pushl -4(%ecx) #
movl (%ecx), %eax # u, u
leal -4(%ecx), %esp #,
tested with trunk g++ target=mingw32.
Fixed.
More information about the Gcc-bugs
mailing list