[LLVMbugs] [Bug 8778] [Win64] incorrect stack frame with alloca(n) and call

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Feb 11 06:35:08 PST 2011


http://llvm.org/bugs/show_bug.cgi?id=8778

NAKAMURA Takumi <geek4civic at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |geek4civic at gmail.com
         Resolution|                            |FIXED

--- Comment #1 from NAKAMURA Takumi <geek4civic at gmail.com> 2011-02-11 08:35:07 CST ---
Fixed in r124949. (chkstk issue is pending)

foo:
        pushq   %rbp
        movq    %rsp, %rbp
        movq    %rcx, %rdx
        leaq    15(%rdx), %rax
        andq    $-16, %rax
        movq    %rsp, %rcx
        subq    %rax, %rcx
        movq    %rcx, %rsp
        subq    $48, %rsp
        movq    %rdx, 32(%rsp)
        movq    %rdx, %r8
        movq    %rdx, %r9
        callq   bar
        movq    %rbp, %rsp
        popq    %rbp
        ret

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list