[llvm-bugs] [Bug 34038] program crashes at movaps, unaligned stack address, -O3

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 4 10:10:22 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=34038

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #10 from Reid Kleckner <rnk at google.com> ---
After r310071 we get this:

        subq    $40, %rsp
.Lcfi0:
        .cfi_def_cfa_offset 48
        movq    $0, 24(%rsp)
        movq    $0, 16(%rsp)
        movq    obj(%rip), %rax
        movaps  16(%rsp), %xmm0 # aligned
        movaps  %xmm0, (%rsp)
        movl    $obj, %edi
        xorl    %esi, %esi
        xorl    %edx, %edx
        xorl    %ecx, %ecx
        xorl    %r8d, %r8d
        callq   *(%rax)
        xorl    %eax, %eax
        addq    $40, %rsp

Should be fixed. We should merge this to 5.0.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170804/740c1acc/attachment.html>


More information about the llvm-bugs mailing list