[llvm-bugs] [Bug 27002] wrong code at -O1 and above on x86_64-linux-gnu

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Mar 20 00:00:06 PDT 2016


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

David Majnemer <david.majnemer at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |david.majnemer at gmail.com
         Resolution|---                         |INVALID

--- Comment #2 from David Majnemer <david.majnemer at gmail.com> ---
This behavior is intentional and is a result of clang's implementation of the
previsions of the C++ standard.

C++14 [expr.new]p10:
"An implementation is allowed to omit a call to a replaceable global allocation
function [...]."

-- 
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/20160320/8fa0bbd2/attachment-0001.html>


More information about the llvm-bugs mailing list