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