[LLVMbugs] [Bug 15541] Wrong behavior with operator new overloading when using O2 for optimization

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Mar 19 00:01:53 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=15541

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|---                         |WONTFIX

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Clang follows the approach described in this behavior:

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3433.html

Use -ffreestanding to disable this optimization.

-- 
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/20130319/9c52e9f3/attachment.html>


More information about the llvm-bugs mailing list