summaryrefslogtreecommitdiff
path: root/contrib/check_warning_flags.sh
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 /contrib/check_warning_flags.sh
parentb3cdf3cbb600cc0e32ec446fd029827373804628 (diff)
downloadgcc-a072f1cf7c5209f4e72b245ea96141f52b2eb345.tar.gz
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 'contrib/check_warning_flags.sh')
-rwxr-xr-xcontrib/check_warning_flags.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/check_warning_flags.sh b/contrib/check_warning_flags.sh
index fcd0f37e105..eb53832730c 100755
--- a/contrib/check_warning_flags.sh
+++ b/contrib/check_warning_flags.sh
@@ -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.