From e8089b4a9d21a6bbd5f17443fde6335fecee3730 Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Wed, 9 Nov 2011 17:22:22 +0000 Subject: [PATCH] re PR c++/51045 (erroneous zero as null pointer constant warning at delete) /cp 2011-11-09 Paolo Carlini PR c++/51045 * init.c (build_new_1, build_vec_delete_1, build_delete): Use nullptr_node. /testsuite 2011-11-09 Paolo Carlini PR c++/51045 * g++.dg/warn/Wzero-as-null-pointer-constant-2.C: New. 2011-11-09 Paolo Carlini * doc/invoke.texi ([Option Summary, C++ Language Options]): Add -Wzero-as-null-pointer-constant. From-SVN: r181215 --- gcc/testsuite/ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 03691b51c0da..691711d27747 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-11-09 Paolo Carlini + + PR c++/51045 + * g++.dg/warn/Wzero-as-null-pointer-constant-2.C: New. + 2011-11-09 Paolo Carlini PR c++/51047