[LLVMbugs] [Bug 22687] New: crash when __finally isn't followed by a {
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Feb 24 17:37:46 PST 2015
http://llvm.org/bugs/show_bug.cgi?id=22687
Bug ID: 22687
Summary: crash when __finally isn't followed by a {
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: nicolasweber at gmx.de
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
$ cat foo2.cc
void f() {
__try { } __finally int a;
}
$ bin/clang-cl /c foo2.cc
Assertion failed: (Tok.is(tok::l_brace) && "Not a compount stmt!"), function
ParseCompoundStatement, file
/Users/thakis/src/llvm-rw/tools/clang/lib/Parse/ParseStmt.cpp, line 829.
0 clang-3.5 0x000000010e070959
llvm::sys::PrintStackTrace(__sFILE*) + 57
1 clang-3.5 0x000000010e0710eb SignalHandler(int) + 635
2 libsystem_platform.dylib 0x00007fff858dcf1a _sigtramp + 26
3 libsystem_platform.dylib 0x00007fff69ad0764 _sigtramp + 3827251300
4 clang-3.5 0x000000010e070e56 abort + 22
5 clang-3.5 0x000000010e070e31 __assert_rtn + 81
6 clang-3.5 0x000000010ea97f28
clang::Parser::ParseSEHFinallyBlock(clang::SourceLocation) + 536
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150225/336eed75/attachment.html>
More information about the llvm-bugs
mailing list