[LLVMbugs] [Bug 5863] New: Assertion failed: (I->second == CleanupEntries.size() - 1)
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Dec 23 13:22:19 PST 2009
http://llvm.org/bugs/show_bug.cgi?id=5863
Summary: Assertion failed: (I->second == CleanupEntries.size() -
1)
Product: new-bugs
Version: trunk
Platform: Other
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rene at freebsd.org
CC: llvmbugs at cs.uiuc.edu
clang/llvm r92000
% cat llvm-ir.cpp
class E { };
void P1()
{
try {
int a=0;
int b=0;
if ( a > b ) // simply filling in 0 or 1 doesn't trigger the assertion
throw E(); // commenting out 'if' or 'throw' 'fixes' the assertion failure
try { } catch ( ... ) { } // empty try/catch block needed for failure
} catch ( ... ) { } // this try/catch block needed for failure
}
% clang -cc1 -x c++ llvm-ir.cpp -S -o llvm-ir.o
Assertion failed: (I->second == CleanupEntries.size() - 1), function EmitBlock,
file CGStmt.cpp, line 221.
Stack dump:
0. Program arguments: /usr/local/tinderbox/jails/8.X/tmp/usr/bin/clang
-cc1 -x c++ llvm-ir.cpp -S -o llvm-ir.o
1. <eof> parser at end of file
2. llvm-ir.cpp:3:6: LLVM IR generation of declaration 'P1'
3. llvm-ir.cpp:3:6: Generating code for declaration 'P1'
4. llvm-ir.cpp:4:1: LLVM IR generation of compound statement ('{}')
5. llvm-ir.cpp:5:6: LLVM IR generation of compound statement ('{}')
Abort trap (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