[LLVMbugs] [Bug 7059] New: Exception std::bad_cast thrown by dynamic_cast is not caught correctly.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed May 5 14:00:14 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7059
Summary: Exception std::bad_cast thrown by dynamic_cast is not
caught correctly.
Product: clang
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: pasi.parviainen at iki.fi
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=4832)
--> (http://llvm.org/bugs/attachment.cgi?id=4832)
Failing example.
Exception std::bad_cast thrown by dynamic_cast is not caught correctly on same
level where the throw did occur. Attached failing example code demonstrates the
problem.
Output of the example program compiled as "clang++ badcast.cpp":
DoDynamicCast(a); => std::bad_cast caught incorrectly.
Expected outcome:
DoDynamicCast(a); => std::bad_cast caught correctly.
--
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