|
From: | Matt Wette |
Subject: | Re: native code |
Date: | Wed, 22 Feb 2017 14:16:40 -0800 |
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 |
[Prev in Thread] | Current Thread | [Next in Thread] |