[LLVMbugs] [Bug 9671] New: Assertion failed when parsing inline asm arguments

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Apr 10 18:34:23 PDT 2011


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

           Summary: Assertion failed when parsing inline asm arguments
           Product: clang
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: maarten at treewalker.org
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=6428)
 --> (http://llvm.org/bugs/attachment.cgi?id=6428)
Test case

Clang was built from SVN revision 128339.
Tested on Mac OS X 10.6.

If I try to compile the attached test case using "clang -c -o asmbug.o
asmbug.cpp", an assertion triggers:
Assertion failed: (0 && "Unknown builtin type!"), function getTypeInfo, file
/Users/mth/src/llvm/tools/clang/lib/AST/ASTContext.cpp, line 740.

The test case is a minimized version of an actual program that triggered this
assert. For some reason, the presence of the template and the offset for "out"
(even if it is 0) are essential to trigger it.

-- 
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