OSDN Git Service

Sanitize the behavior of -Wcoverage-mismatch.
authornvachhar <nvachhar@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 4 May 2010 23:45:58 +0000 (23:45 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 04:59:09 +0000 (13:59 +0900)
commit0e871628007ff095dd86509a0de2bf66de62422a
tree7b3e02e3629db2eadbfda93789909395f942d4fa
parent776275a38464a2e43c0c74cb01c5e8af829e7770
Sanitize the behavior of -Wcoverage-mismatch.

2010-05-04  Neil Vachharajani <nvachhar@google.com>

        * doc/invoke.texi (-Wcoverage-mismatch): Updated documentation as
        per new semantics.
        * opts.c (decode_options): Enable -Werror=coverage-mismatch.
        * coverage.c (get_coverage_counts): Always emit a warning.  Adjust
        conditions for printing notes.
        * common.opt (-Wcoverage-mismatch): Allow negative, default to
        true, update documentation.
        * Makefile.in (coverage.o): Add dependence on DIAGNOSTIC_H and intl.h.
        * testsuite/gcc.dg/tree-prof/wcoverage-mismatch.c: Adjusted.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159050 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/Makefile.in
gcc/doc/invoke.texi
gcc/opts.c