From: rwild Date: Sun, 1 Mar 2009 11:24:03 +0000 (+0000) Subject: contrib/ X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=d738149002360409821215e5126a305233c90c3d;hp=a43fd3a5b89ea847b3e7571d2d878a24d29fe17c;ds=inline 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144522 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/contrib/ChangeLog b/contrib/ChangeLog index 4f49364ef3d..4fc801b0ae9 100644 --- a/contrib/ChangeLog +++ b/contrib/ChangeLog @@ -1,3 +1,7 @@ +2009-03-01 Ralf Wildenhues + + * check_warning_flags.sh: Update flag exceptions. + 2008-11-18 Ben Elliston * dg-cmp-results.sh: Do not print usage if either .sum file cannot 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 . # # 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. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ee78860f8e0..bbd4bcc0626 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2009-03-01 Ralf Wildenhues + * 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 75acf036150..043cc980bb9 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