<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Exception raised in copy constructor during EH should go to terminator()"
href="http://llvm.org/bugs/show_bug.cgi?id=18285">18285</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Exception raised in copy constructor during EH should go to terminator()
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>C++
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>weimingz@codeaurora.org
</td>
</tr>
<tr>
<th>CC</th>
<td>dgregor@apple.com, llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=11751" name="attach_11751" title="test case">attachment 11751</a> <a href="attachment.cgi?id=11751&action=edit" title="test case">[details]</a></span>
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"</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>