aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2009-03-01 11:24:03 +0000
committerRalf Wildenhues <rwild@gcc.gnu.org>2009-03-01 11:24:03 +0000
commita072f1cf7c5209f4e72b245ea96141f52b2eb345 (patch)
tree84573df0f84fe03c4e9ad98c16847dbb0b359640 /gcc
parentb3cdf3cbb600cc0e32ec446fd029827373804628 (diff)
downloadgcc-a072f1cf7c5209f4e72b245ea96141f52b2eb345.zip
gcc-a072f1cf7c5209f4e72b245ea96141f52b2eb345.tar.gz
gcc-a072f1cf7c5209f4e72b245ea96141f52b2eb345.tar.bz2
check_warning_flags.sh: Update flag exceptions.
contrib/ * check_warning_flags.sh: Update flag exceptions. gcc/ * doc/invoke.texi (Warning Options): -Wsync-nand is C/C++ only. -Wno-pedantic-ms-format is for MinGW targets only. From-SVN: r144522
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/doc/invoke.texi4
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ee78860..bbd4bcc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+ * doc/invoke.texi (Warning Options): -Wsync-nand is C/C++ only.
+ -Wno-pedantic-ms-format is for MinGW targets only.
+
* doc/options.texi (Option file format): Fix bad indentation,
restoring dropped sentence.
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 75acf03..043cc98 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -3150,7 +3150,7 @@ and lacks a @code{case} for one or more of the named codes of that
enumeration. @code{case} labels outside the enumeration range also
provoke warnings when this option is used.
-@item -Wsync-nand
+@item -Wsync-nand @r{(C and C++ only)}
@opindex Wsync-nand
@opindex Wno-sync-nand
Warn when @code{__sync_fetch_and_nand} and @code{__sync_nand_and_fetch}
@@ -3604,7 +3604,7 @@ assume anything on the bounds of the loop indices. With
@option{-funsafe-loop-optimizations} warn if the compiler made
such assumptions.
-@item -Wno-pedantic-ms-format
+@item -Wno-pedantic-ms-format @r{(MinGW targets only)}
@opindex Wno-pedantic-ms-format
@opindex Wpedantic-ms-format
Disables the warnings about non-ISO @code{printf} / @code{scanf} format