From e0b77418ce90c353563d88ff5fab32f68cdc0bef Mon Sep 17 00:00:00 2001 From: Ahmad Sharif Date: Sat, 29 Jan 2011 03:54:56 +0000 Subject: [PATCH] * value-prof.c (check_counter): Corrected error message. From-SVN: r169387 --- gcc/ChangeLog | 4 ++++ gcc/value-prof.c | 8 ++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c293fd708af1..a7c3ff35b4a5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-01-28 Ahmad Sharif + + * value-prof.c (check_counter): Corrected error message. + 2011-01-29 Jie Zhang * config/arm/arm.c (arm_legitimize_reload_address): New. diff --git a/gcc/value-prof.c b/gcc/value-prof.c index 0a36ed210c85..8491c776f7cf 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; } } -- 2.47.2