[llvm-bugs] [Bug 32002] std::make_shared does not perform zero initialization

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Feb 18 06:01:28 PST 2017


https://bugs.llvm.org/show_bug.cgi?id=32002

Dimitry Andric <dimitry at andric.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://bugs.freebsd.org/21
                   |                            |7200
         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #2 from Dimitry Andric <dimitry at andric.com> ---
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: https://bugs.freebsd.org/217200

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170218/ba29b78d/attachment.html>


More information about the llvm-bugs mailing list