<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:eric@efcs.ca" title="Eric Fiselier <eric@efcs.ca>"> <span class="fn">Eric Fiselier</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED DUPLICATE - Segmentation fault at _tree:1098 with -O2 in Mac OS X clang++"
href="https://llvm.org/bugs/show_bug.cgi?id=31376">bug 31376</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>DUPLICATE
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED DUPLICATE - Segmentation fault at _tree:1098 with -O2 in Mac OS X clang++"
href="https://llvm.org/bugs/show_bug.cgi?id=31376#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED DUPLICATE - Segmentation fault at _tree:1098 with -O2 in Mac OS X clang++"
href="https://llvm.org/bugs/show_bug.cgi?id=31376">bug 31376</a>
from <span class="vcard"><a class="email" href="mailto:eric@efcs.ca" title="Eric Fiselier <eric@efcs.ca>"> <span class="fn">Eric Fiselier</span></a>
</span></b>
<pre>OK. So I managed to get the second example segfaulting on Linux at -O2, but
only after reverting r276003 which fixes UB in <__tree>.
Closing this as a duplicate of "Undefined behavior in __tree", which has been
fixed for a couple of releases now.
*** This bug has been marked as a duplicate of <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Undefined behavior in __tree"
href="show_bug.cgi?id=19302">bug 19302</a> ***</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>