diff options
author | Joseph Myers <joseph@codesourcery.com> | 2005-07-03 22:08:11 +0100 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2005-07-03 22:08:11 +0100 |
commit | ab532386bd67549000dbe8db91d5fa3bf56239c7 (patch) | |
tree | 9e35ca21fbfbb197d00f2ae30beb41c733d69f5f /gcc/coverage.c | |
parent | 9bce667ce5fcc889c3b3212085cf227381e09532 (diff) | |
download | gcc-ab532386bd67549000dbe8db91d5fa3bf56239c7.zip gcc-ab532386bd67549000dbe8db91d5fa3bf56239c7.tar.gz gcc-ab532386bd67549000dbe8db91d5fa3bf56239c7.tar.bz2 |
bb-reorder.c, [...]: Avoid "." or "\n" at end of diagnostics and capital letters at start of diagnostics.
* bb-reorder.c, c-pch.c, c-pragma.c, c.opt, cfghooks.c, cfgloop.c,
cfgrtl.c, cgraphunit.c, config/c4x/c4x.c, config/cris/cris.c,
config/frv/frv.c, config/host-darwin.c, config/iq2000/iq2000.c,
config/lynx.h, config/m68k/m68k.c, config/pa/pa.c, config/sh/sh.h,
config/stormy16/stormy16.c, config/v850/v850.c,
config/vax/netbsd-elf.h, coverage.c, dwarf2out.c, emit-rtl.c,
except.c, gcc.c, tree-cfg.c, tree-eh.c, tree-ssa.c, xcoffout.c:
Avoid "." or "\n" at end of diagnostics and capital letters at
start of diagnostics.
* combine.c, cse.c: Don't translate dump file output.
* toplev.c (print_version): Only translate output if going to
stderr.
From-SVN: r101561
Diffstat (limited to 'gcc/coverage.c')
-rw-r--r-- | gcc/coverage.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/coverage.c b/gcc/coverage.c index 626e723..b1e2e51 100644 --- a/gcc/coverage.c +++ b/gcc/coverage.c @@ -271,7 +271,7 @@ read_counts_file (void) } else if (entry->checksum != checksum) { - error ("coverage mismatch for function %u while reading execution counters.", + error ("coverage mismatch for function %u while reading execution counters", fn_ident); error ("checksum is %x instead of %x", entry->checksum, checksum); htab_delete (counts_hash); @@ -279,7 +279,7 @@ read_counts_file (void) } else if (entry->summary.num != n_counts) { - error ("coverage mismatch for function %u while reading execution counters.", + error ("coverage mismatch for function %u while reading execution counters", fn_ident); error ("number of counters is %d instead of %d", entry->summary.num, n_counts); htab_delete (counts_hash); @@ -345,7 +345,7 @@ get_coverage_counts (unsigned counter, unsigned expected, entry = htab_find (counts_hash, &elt); if (!entry) { - warning (0, "no coverage for function %qs found.", IDENTIFIER_POINTER + warning (0, "no coverage for function %qs found", IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (current_function_decl))); return 0; } @@ -353,7 +353,7 @@ get_coverage_counts (unsigned counter, unsigned expected, checksum = compute_checksum (); if (entry->checksum != checksum) { - error ("coverage mismatch for function %qs while reading counter %qs.", + error ("coverage mismatch for function %qs while reading counter %qs", IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (current_function_decl)), ctr_names[counter]); error ("checksum is %x instead of %x", entry->checksum, checksum); @@ -361,7 +361,7 @@ get_coverage_counts (unsigned counter, unsigned expected, } else if (entry->summary.num != expected) { - error ("coverage mismatch for function %qs while reading counter %qs.", + error ("coverage mismatch for function %qs while reading counter %qs", IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (current_function_decl)), ctr_names[counter]); error ("number of counters is %d instead of %d", entry->summary.num, expected); |