http://llvm.org/bugs/show_bug.cgi?id=18285
Bug ID: 18285
Summary: Exception raised in copy constructor during EH should
go to terminator()
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Created attachment 11751
--> http://llvm.org/bugs/attachment.cgi?id=11751&action=edit
test case
According to C++ standard:
15.5 Special functions
The functions std::terminate() and std::unexpected() are used by the exception
handling mechanism for coping with errors related to the exception handling
mechanism itself.
15.5.1 The std::terminate() function
In some situations exception handling must be abandoned for less subtle error
handling techniques.
These situations are:
when the exception handling mechanism, after completing the initialization of
the exception object but before activation of a handler for the exception calls
a function that exits via an exception
However, for the attached test case, control flow still goes to "catch"
--
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