[Bug middle-end/32680] unneeded movsbl
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jul 9 09:50:00 GMT 2007
------- Comment #3 from rguenth at gcc dot gnu dot org 2007-07-09 09:50 -------
It does:
function2:
.LFB3:
call function1
movsbl %al,%eax
ret
because this is what the C ABI specifies. Now, the stack adjustments are
indeed superfluous. And we fail to tailcall as well. The latter is
fixed with a patch of mine.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32680
More information about the Gcc-bugs
mailing list