------- 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

Reply via email to