aboutsummaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2007-01-25 12:35:13 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2007-01-25 12:35:13 +0000
commit16c1c158d80c9ebc5b72c89fbe16c6622e8c35cf (patch)
tree38aed0de4ea56447e1382d524e34a85e4c8aed61 /gcc/common.opt
parent04a91788394a9f8dbea4bd528584c502cfd004e6 (diff)
downloadgcc-16c1c158d80c9ebc5b72c89fbe16c6622e8c35cf.zip
gcc-16c1c158d80c9ebc5b72c89fbe16c6622e8c35cf.tar.gz
gcc-16c1c158d80c9ebc5b72c89fbe16c6622e8c35cf.tar.bz2
invoke.texi (-Wcoverage-mismatch): Document.
2007-01-25 Richard Guenther <rguenther@suse.de> * doc/invoke.texi (-Wcoverage-mismatch): Document. * common.opt (-Wcoverage-mismatch): New warning option. * coverage.c (get_coverage_counts): Ignore coverage mismatch if -Wcoverage-mismatch is given. * gcc.dg/tree-prof/tree-prof.exp: Define _PROFILE_GENERATE and _PROFILE_USE. * gcc.dg/tree-prof/wcoverage-mismatch.c: New testcase. From-SVN: r121169
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index dfcda94..0a0d287 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -197,6 +197,10 @@ Wvolatile-register-var
Common Var(warn_register_var)
Warn when a register variable is declared volatile
+Wcoverage-mismatch
+Common RejectNegative Var(warn_coverage_mismatch)
+Warn instead of error in case profiles in -fprofile-use do not match
+
aux-info
Common Separate
-aux-info <file> Emit declaration information into <file>