aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@pfeifer.com>2010-08-15 18:26:01 +0000
committerGerald Pfeifer <gerald@gcc.gnu.org>2010-08-15 18:26:01 +0000
commit09ccff9f3d0704402ec2b0dbefb6cf7021b87a15 (patch)
tree53d738f2fd9e3666cebe9452784ab2a09d324c20 /gcc
parentba3721c1c20ccd158a3631af7518e6d1d2662514 (diff)
downloadgcc-09ccff9f3d0704402ec2b0dbefb6cf7021b87a15.zip
gcc-09ccff9f3d0704402ec2b0dbefb6cf7021b87a15.tar.gz
gcc-09ccff9f3d0704402ec2b0dbefb6cf7021b87a15.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/invoke.texi4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9400493..df93161 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2010-08-15 Gerald Pfeifer <gerald@pfeifer.com>
+
+ * doc/invoke.texi (Warning Options): Fix terminology and markup
+ in the description of how unknown warning options are handled.
+
2010-08-15 Ira Rosen <irar@il.ibm.com>
* tree-vect-data-refs.c (vect_setup_realignment): Support realignment
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index edce703..3df16f8 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