------- Comment #6 from howarth at nitro dot med dot uc dot edu 2010-08-31 01:25 ------- For the testcase compiled with...
gcc-4 -m32 -O -fomit-frame-pointer -fno-pic -S add.c
...current gcc trunk gives...
_f:
LFB0:
subl $12, %esp
LCFI0:
addl $1, _a
addl $12, %esp
LCFI1:
ret
With patch we now get...
_f:
LFB0:
addl $1, _a
ret
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36502
