]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
check_warning_flags.sh: Update flag exceptions.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 1 Mar 2009 11:24:03 +0000 (11:24 +0000)
committerRalf Wildenhues <rwild@gcc.gnu.org>
Sun, 1 Mar 2009 11:24:03 +0000 (11:24 +0000)
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

contrib/ChangeLog
contrib/check_warning_flags.sh
gcc/ChangeLog
gcc/doc/invoke.texi

index 4f49364ef3d10e367ed8ea48e502cede8a3a1b9f..4fc801b0ae9f214d9f7e24b2f36ab1665f92cd28 100644 (file)
@@ -1,3 +1,7 @@
+2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * check_warning_flags.sh: Update flag exceptions.
+
 2008-11-18  Ben Elliston  <bje@au.ibm.com>
 
        * dg-cmp-results.sh: Do not print usage if either .sum file cannot
index fcd0f37e1053e3a1507fb8af9aa0c6583cc6c9b1..eb53832730cebe127b75b031154e044c5f644245 100755 (executable)
@@ -3,7 +3,7 @@
 # Check that the warning flags documented in invoke.texi match up
 # with what the compiler accepts.
 #
-# Copyright (C) 2008 Free Software Foundation, Inc.
+# Copyright (C) 2008, 2009 Free Software Foundation, Inc.
 # Written by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
 #
 # This script is Free Software, and it can be copied, distributed and
@@ -39,9 +39,12 @@ stderr=check_warning_flags_stderr$$
 
 remove_problematic_flags='
   /-Wlarger-than-/d
+  /-Wframe-larger-than/d
+  /-Wdisallowed-function-list/d
   /-W[alp],/d
   /-Werror/d
   /-Wpadded/d
+  /pedantic-ms-format/d
   /=/d'
 
 # Ensure that indexed warnings are accepted.
index ee78860f8e0d931fe0a7eee7e0fd76a23b536be5..bbd4bcc0626e2837eb0e40189212d7586ab99b89 100644 (file)
@@ -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.
 
index 75acf036150e1f2bde44841f751654d847d7668b..043cc980bb95a05e49dbd18eef8a295a27b654e1 100644 (file)
@@ -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