[llvm] r179071 - c++ new operators are not malloc-like functions because they do not return uninitialized memory.

Nadav Rotem nrotem at apple.com
Mon Apr 8 21:43:45 PDT 2013


On Apr 8, 2013, at 8:45 PM, Nick Lewycky <nicholas at mxc.ca> wrote:

> Please revert. Technically true, but this was discussed in advance: if people want non-standard new/new[] then they need to specify -fno-builtin just as they need for non-standard malloc (even though replacing new/new[] is part of the language spec and replacing malloc isn't (well, except that it also is but you have to replace the rest of the standard library with it.))


Hi Nick, 

I missed the discussion about non standard new/new[]. I will revert the patch. 

Nadav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130408/3a1490a7/attachment.html>


More information about the llvm-commits mailing list