[LLVMbugs] [Bug 20216] New: clang-cl error: instruction requires: 64-bit mode

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Jul 5 14:46:06 PDT 2014


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

            Bug ID: 20216
           Summary: clang-cl error: instruction requires: 64-bit mode
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ehsan at mozilla.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

$ cat test.c
void f() {
    char file[] = "";
    __asm lea eax, file
}

Ehsan Akhgari at WIN-LD01V6P651K /c/moz/src/obj-ff-clangcl/gfx/cairo/cairo/src
$ clang-cl -c test.c
<inline asm>(2,2) :  error: instruction requires: 64-bit mode
        lea eax, byte ptr file
        ^
1 error generated.

-- 
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/20140705/1ff4e41f/attachment.html>


More information about the llvm-bugs mailing list