[Bug middle-end/32680] fails to tailcall, useless stack adjustment
rguenth at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jul 9 09:54:00 GMT 2007
------- Comment #4 from rguenth at gcc dot gnu dot org 2007-07-09 09:54 -------
So I just applied it and now we get
function1:
.LFB2:
movl $10, %eax
ret
function2:
.LFB3:
movq pfunc(%rip), %r11
jmp *%r11
for the indirect call. Fixed.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Status|UNCONFIRMED |RESOLVED
GCC target triplet| |x86_64-*-*, i?86-*-*
Keywords| |missed-optimization
Resolution| |FIXED
Summary|unneeded movsbl |fails to tailcall, useless
| |stack adjustment
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32680
More information about the Gcc-bugs
mailing list