[Bug c++/50594] Option -fwhole-program discards replaced new operator for std::string
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Oct 4 09:27:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50594
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-10-04
Ever Confirmed|0 |1
--- Comment #14 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-04 09:26:57 UTC ---
I think that if the user may override certain builtin functions the frontend
should be responsible to inherit the proper visibility of those replacements
so it works even with -fwhole-program (or -flto).
Confirmed as a C++ frontend issue. To the middle-end those functions are
not in any way special.
More information about the Gcc-bugs
mailing list