From 09ccff9f3d0704402ec2b0dbefb6cf7021b87a15 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sun, 15 Aug 2010 18:26:01 +0000 Subject: [PATCH] invoke.texi (Warning Options): Fix terminology and markup in the description of how unknown warning options... * doc/invoke.texi (Warning Options): Fix terminology and markup in the description of how unknown warning options are handled. From-SVN: r163266 --- gcc/ChangeLog | 5 +++++ gcc/doc/invoke.texi | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9400493ab40..df9316115e6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-08-15 Gerald Pfeifer + + * doc/invoke.texi (Warning Options): Fix terminology and markup + in the description of how unknown warning options are handled. + 2010-08-15 Ira Rosen * tree-vect-data-refs.c (vect_setup_realignment): Support realignment diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index edce7038106..3df16f83aaa 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -2863,9 +2863,9 @@ two forms, whichever is not the default. For further, language-specific options also refer to @ref{C++ Dialect Options} and @ref{Objective-C and Objective-C++ Dialect Options}. -When an unrecognized warning label is requested (e.g., +When an unrecognized warning option is requested (e.g., @option{-Wunknown-warning}), GCC will emit a diagnostic stating -that the option is not recognized. However, if the @samp{-Wno-} form +that the option is not recognized. However, if the @option{-Wno-} form is used, the behavior is slightly different: No diagnostic will be produced for @option{-Wno-unknown-warning} unless other diagnostics are being produced. This allows the use of new @option{-Wno-} options