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

             Bug #: 12819
           Summary: crash on unclosed asm
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


Created attachment 8552
  --> http://llvm.org/bugs/attachment.cgi?id=8552
reduced test case (provided by Craig Schroeder)

clang trunk crashes on this input after issuing the error (when in C mode):

int vscanf () __asm__ (("")

the result is:

t15.c:1:24: error: expected string literal
int vscanf () __asm__ (("")

(and then it crashes in Parser::ParseSimpleAsm).

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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