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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs