[LLVMbugs] [Bug 6442] New: Assertion failed: (Tok.is(tok::l_brace))

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Feb 28 07:42:48 PST 2010


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

           Summary: Assertion failed: (Tok.is(tok::l_brace))
           Product: clang
           Version: trunk
          Platform: Other
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P5
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: hinokind at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=4334)
 --> (http://llvm.org/bugs/attachment.cgi?id=4334)
testcase

$ cat assert11.cc 
foo():


$ clang assert11.cc 
<...>
Assertion failed: (Tok.is(tok::l_brace)), function ParseFunctionStatementBody,
file ParseStmt.cpp, line 1422.
Stack dump:
0.    Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-freebsd8.0 -S -disable-free -main-file-name assert11.cc
-mrelocation-model static -mdisable-fp-elim -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -resource-dir /usr/local/lib/clang/1.1
-fmessage-length 157 -fexceptions -fgnu-runtime -fdiagnostics-show-option
-fcolor-diagnostics -o /tmp/cc-lLvuPn.s -x c++ assert11.cc 
1.    <eof> parser at end of file
clang: error: compiler command failed due to signal 6 (use -v to see
invocation)


$ clang --version
clang version 1.1 (trunk 97399)
Target: x86_64-unknown-freebsd8.0
Thread model: posix

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