2011-12-22 Jonathan Wakely <jwakely.gcc@gmail.com>
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Dec 2011 17:52:36 +0000 (17:52 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Dec 2011 17:52:36 +0000 (17:52 +0000)
* doc/invoke.texi (C++ Dialect Options): Add missing options and
move -Wzero-as-null-pointer-constant to ...
(Warning Options): ... here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182631 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/doc/invoke.texi

index 4788efa..8e7d8e5 100644 (file)
@@ -1,5 +1,11 @@
 2011-12-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
 
+       * doc/invoke.texi (C++ Dialect Options): Add missing options and
+       move -Wzero-as-null-pointer-constant to ...
+       (Warning Options): ... here.
+
+2011-12-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
        PR target/47643
        * doc/invoke.texi (i386 and x86-64 Options): Fix description of
        -mtune without -march.
index c779d27..f8dad6c 100644 (file)
@@ -196,11 +196,12 @@ in the following sections.
 -fno-default-inline  -fvisibility-inlines-hidden @gol
 -fvisibility-ms-compat @gol
 -Wabi  -Wconversion-null  -Wctor-dtor-privacy @gol
--Wnoexcept -Wnon-virtual-dtor  -Wreorder @gol
+-Wdelete-non-virtual-dtor -Wnarrowing -Wnoexcept @gol
+-Wnon-virtual-dtor  -Wreorder @gol
 -Weffc++  -Wstrict-null-sentinel @gol
 -Wno-non-template-friend  -Wold-style-cast @gol
 -Woverloaded-virtual  -Wno-pmf-conversions @gol
--Wsign-promo -Wzero-as-null-pointer-constant}
+-Wsign-promo}
 
 @item Objective-C and Objective-C++ Language Options
 @xref{Objective-C and Objective-C++ Dialect Options,,Options Controlling
@@ -272,7 +273,7 @@ Objective-C and Objective-C++ Dialects}.
 -Wno-unused-result -Wunused-value @gol -Wunused-variable @gol
 -Wunused-but-set-parameter -Wunused-but-set-variable @gol
 -Wvariadic-macros -Wvector-operation-performance -Wvla 
--Wvolatile-register-var  -Wwrite-strings}
+-Wvolatile-register-var  -Wwrite-strings -Wzero-as-null-pointer-constant}
 
 @item C and Objective-C-only Warning Options
 @gccoptlist{-Wbad-function-cast  -Wmissing-declarations @gol