diff options
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 626e723a267..b1e2e5121b2 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); |