[LLVMbugs] [Bug 12819] New: crash on unclosed asm

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun May 13 22:41:38 PDT 2012


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: unassignedclangbugs at nondot.org
        ReportedBy: hfinkel at anl.gov
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    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.



More information about the llvm-bugs mailing list