[Bug c++/50594] Option -fwhole-program discards replaced new operator for std::string

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Sun Oct 2 23:41:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50594

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rguenth at gcc dot gnu.org

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-10-02 23:41:39 UTC ---
I don't see anything non-standard conforming in the library, for sure.

Better asking Richard, I think, but I'm afraid you can't really do what you
would like to do as soon as you start linking in code from *any* library (not
just the standard C++ library and its basic_string instantiations) managing
memory.



More information about the Gcc-bugs mailing list