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

            Bug ID: 35115
           Summary: clang-cl: error: expected identifier 'short' with
                    inline asm jne short foo
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangb...@nondot.org
          Reporter: amine.kha...@reactos.org
                CC: llvm-bugs@lists.llvm.org

int main() {
    __asm {
        jne short foo
    foo:
        push ebx
    }
}

cl compiles it, but clang-cl emits:

test.c(3,13) :  error: expected identifier
        jne short foo
            ^
test.c(3,13) :  error: use of undeclared label 'short foo
        foo:
        push ebx'
2 errors generated.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to