[Bug c++/19476] Missed null checking elimination with new
glisse at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 11 13:20:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19476
--- Comment #15 from Marc Glisse <glisse at gcc dot gnu.org> ---
I posted a patch:
http://gcc.gnu.org/ml/gcc-patches/2013-09/msg00676.html
However, note that it only optimizes the testcase from this PR if we add
#include <new> at the beginning, otherwise the implicit declaration of operator
new doesn't have its operator_new_flag set...
More information about the Gcc-bugs
mailing list