* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144522
138bc75d-0d04-0410-961f-
82ee72b054a4
+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
# 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
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.
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.
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}
@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