aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/invoke.texi
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2011-11-09 17:21:19 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2011-11-09 17:21:19 +0000
commit6d96d7ff5ec3d6bd88127ec0d5f5fa65fac5c650 (patch)
treed22ede289f9b12d71716ebb1a4b6667f9a7198a1 /gcc/doc/invoke.texi
parentdb422ace3f052fe6c078db73c3699769e4ddde38 (diff)
downloadgcc-6d96d7ff5ec3d6bd88127ec0d5f5fa65fac5c650.zip
gcc-6d96d7ff5ec3d6bd88127ec0d5f5fa65fac5c650.tar.gz
gcc-6d96d7ff5ec3d6bd88127ec0d5f5fa65fac5c650.tar.bz2
re PR c++/51045 (erroneous zero as null pointer constant warning at delete)
/cp 2011-11-09 Paolo Carlini <paolo.carlini@oracle.com> PR c++/51045 * init.c (build_new_1, build_vec_delete_1, build_delete): Use nullptr_node. /testsuite 2011-11-09 Paolo Carlini <paolo.carlini@oracle.com> PR c++/51045 * g++.dg/warn/Wzero-as-null-pointer-constant-2.C: New. 2011-11-09 Paolo Carlini <paolo.carlini@oracle.com> * doc/invoke.texi ([Option Summary, C++ Language Options]): Add -Wzero-as-null-pointer-constant. From-SVN: r181214
Diffstat (limited to 'gcc/doc/invoke.texi')
-rw-r--r--gcc/doc/invoke.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index e6fffb1..54e4a48 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -200,7 +200,7 @@ in the following sections.
-Weffc++ -Wstrict-null-sentinel @gol
-Wno-non-template-friend -Wold-style-cast @gol
-Woverloaded-virtual -Wno-pmf-conversions @gol
--Wsign-promo}
+-Wsign-promo -Wzero-as-null-pointer-constant}
@item Objective-C and Objective-C++ Language Options
@xref{Objective-C and Objective-C++ Dialect Options,,Options Controlling