> On Feb 22, 2017, at 1:44 PM, Matt Wette <[email protected]> wrote: > else sum(total+top, top-1);
Above should be “else return sum(total+top, top-1)”. I fixed and gcc still
produces the tail call:
_sum:
LFB1:
jmp L10
.align 4,0x90
L7:
addl %esi, %edi
subl $1, %esi
L10:
cmpl $1, %esi
jne L7
leal 1(%rdi), %eax
ret
