[LLVMbugs] [Bug 19116] New: MS Style Inline Asm failure

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Mar 12 10:29:24 PDT 2014


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

            Bug ID: 19116
           Summary: MS Style Inline Asm failure
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: jb.feldman at kyrus-tech.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

When compiling with clang-cl, the following code generates an error. This code
compiles without issue in cl.exe, and is adapted (simplified) from MS headers
(ntddk.h).

int main()
{
    __asm    {
    cmp cl, 32
    jc short done
    inc eax
done:
    inc eax
    }
}

sample.c:5:6: error: expected identifier
                jc short done
                   ^
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/20140312/2f6c4867/attachment.html>


More information about the llvm-bugs mailing list