<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:dimitry@andric.com" title="Dimitry Andric <dimitry@andric.com>"> <span class="fn">Dimitry Andric</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED MOVED - std::make_shared does not perform zero initialization"
href="https://bugs.llvm.org/show_bug.cgi?id=32002">bug 32002</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;">URL</td>
<td>
</td>
<td>https://bugs.freebsd.org/217200
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>MOVED
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED MOVED - std::make_shared does not perform zero initialization"
href="https://bugs.llvm.org/show_bug.cgi?id=32002#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED MOVED - std::make_shared does not perform zero initialization"
href="https://bugs.llvm.org/show_bug.cgi?id=32002">bug 32002</a>
from <span class="vcard"><a class="email" href="mailto:dimitry@andric.com" title="Dimitry Andric <dimitry@andric.com>"> <span class="fn">Dimitry Andric</span></a>
</span></b>
<pre>Eh, nevermind about that, your test case needed -std=c++11, obviously (it would
have been handy if you had specified that :).
Indeed, on FreeBSD 10 with libc++ 3.4.1, this program prints 123, while on
FreeBSD 11 and 12 with libc++ 3.9.1, it prints zero. It must have been fixed
in libc++ in the mean time.
Let's move this bug to the FreeBSD bug tracker, since the llvm project does not
really maintain the 3.4 branch anymore: <a href="https://bugs.freebsd.org/217200">https://bugs.freebsd.org/217200</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>