[LLVMbugs] [Bug 7943] New: Violated assertion in clang::TokenLexer::PasteTokens()

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Aug 19 13:06:02 PDT 2010


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

           Summary: Violated assertion in clang::TokenLexer::PasteTokens()
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: bagnara at cs.unipr.it
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=5391)
 --> (http://llvm.org/bugs/attachment.cgi?id=5391)
Testcase coming from GCC's testsuite.

*******************************************************************
pr30805.c
*******************************************************************
[Thread 1] TokenLexer.cpp:388: bool
clang::TokenLexer::PasteTokens(clang::Token&): Assertion failed: !isAtEnd() &&
"No token on the RHS of a paste operator!"
Stack dump:
0.      pr30805.c:6:3: current parser token '1'
Aborted (core dumped)

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