https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63206

Pype <pype_1999.geo at yahoo dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pype_1999.geo at yahoo dot com

--- Comment #1 from Pype <pype_1999.geo at yahoo dot com> ---
Created attachment 37648
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37648&action=edit
test case: tail-call + r3 stack bug => wrong function called.

last instructions of the produced machine code :

  74:   e59f3014        ldr     r3, [pc, #20]   ; 90
<ngx_http_proxy_process_status_line+0x68>
  78:   e586300c        str     r3, [r6, #12]
  7c:   e1a00004        mov     r0, r4
  80:   e8bd40f8        pop     {r3, r4, r5, r6, r7, lr}
  84:   e12fff13        bx      r3

Reply via email to