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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

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

Ehsan Akhgari@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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to