From ec9e53f75d412e746d37be0a2128fca49668bb01 Mon Sep 17 00:00:00 2001 From: sandra Date: Fri, 27 Jan 2012 03:33:17 +0000 Subject: [PATCH] 2012-01-27 Sandra Loosemore gcc/ * doc/invoke.texi (Language Independent Options): Move -Wcoverage-mismatch blurb from here.... (Warning Options): ...to here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183602 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 6 ++++++ gcc/doc/invoke.texi | 30 +++++++++++++++--------------- 2 files changed, 21 insertions(+), 15 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9c9f7cc..c832da9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2012-01-27 Sandra Loosemore + + * doc/invoke.texi (Language Independent Options): Move + -Wcoverage-mismatch blurb from here.... + (Warning Options): ...to here. + 2012-01-27 Peter Bergner * config/rs6000/rs6000.c (rs6000_option_override_internal): diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index e3d3789..07ced24 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -2869,21 +2869,6 @@ command line option that directly controls the diagnostic (if such an option is known to the diagnostic machinery). Specifying the @option{-fno-diagnostics-show-option} flag suppresses that behavior. -@item -Wcoverage-mismatch -@opindex Wcoverage-mismatch -Warn if feedback profiles do not match when using the -@option{-fprofile-use} option. -If a source file was changed between @option{-fprofile-gen} and -@option{-fprofile-use}, the files with the profile feedback can fail -to match the source file and GCC can not use the profile feedback -information. By default, this warning is enabled and is treated as an -error. @option{-Wno-coverage-mismatch} can be used to disable the -warning or @option{-Wno-error=coverage-mismatch} can be used to -disable the error. Disable the error for this warning can result in -poorly optimized code, so disabling the error is useful only in the -case of very minor changes such as bug fixes to an existing code-base. -Completely disabling the warning is not recommended. - @end table @node Warning Options @@ -3136,6 +3121,21 @@ Warn whenever a comment-start sequence @samp{/*} appears in a @samp{/*} comment, or whenever a Backslash-Newline appears in a @samp{//} comment. This warning is enabled by @option{-Wall}. +@item -Wno-coverage-mismatch +@opindex Wno-coverage-mismatch +Warn if feedback profiles do not match when using the +@option{-fprofile-use} option. +If a source file was changed between @option{-fprofile-gen} and +@option{-fprofile-use}, the files with the profile feedback can fail +to match the source file and GCC cannot use the profile feedback +information. By default, this warning is enabled and is treated as an +error. @option{-Wno-coverage-mismatch} can be used to disable the +warning or @option{-Wno-error=coverage-mismatch} can be used to +disable the error. Disabling the error for this warning can result in +poorly optimized code and is useful only in the +case of very minor changes such as bug fixes to an existing code-base. +Completely disabling the warning is not recommended. + @item -Wno-cpp @r{(C, Objective-C, C++, Objective-C++ and Fortran only)} -- 2.7.4