summaryrefslogtreecommitdiff
path: root/gcc/value-prof.c
diff options
context:
space:
mode:
authorAhmad Sharif <asharif@google.com>2011-01-29 03:54:56 +0000
committerAhmad Sharif <asharif@gcc.gnu.org>2011-01-29 03:54:56 +0000
commite0b77418ce90c353563d88ff5fab32f68cdc0bef (patch)
treebb3b3bbbd5047346861d2b70916a3839acff140a /gcc/value-prof.c
parent0cd98787c20fd9c5f4aa55109735c3da49df9f51 (diff)
downloadgcc-e0b77418ce90c353563d88ff5fab32f68cdc0bef.tar.gz
* value-prof.c (check_counter): Corrected error message.
From-SVN: r169387
Diffstat (limited to 'gcc/value-prof.c')
-rw-r--r--gcc/value-prof.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/value-prof.c b/gcc/value-prof.c
index 0a36ed210c8..8491c776f7c 100644
--- a/gcc/value-prof.c
+++ b/gcc/value-prof.c
@@ -474,8 +474,12 @@ check_counter (gimple stmt, const char * name,
else
{
error_at (locus, "corrupted value profile: %s "
- "profiler overall count (%d) does not match BB count (%d)",
- name, (int)*all, (int)bb_count);
+ "profile counter (%d out of %d) inconsistent with "
+ "basic-block count (%d)",
+ name,
+ (int) *count,
+ (int) *all,
+ (int) bb_count);
return true;
}
}