diff options
Diffstat (limited to 'gcc-4.4.3/gcc/value-prof.c')
-rw-r--r-- | gcc-4.4.3/gcc/value-prof.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gcc-4.4.3/gcc/value-prof.c b/gcc-4.4.3/gcc/value-prof.c index 6b1402d56..1a3549e19 100644 --- a/gcc-4.4.3/gcc/value-prof.c +++ b/gcc-4.4.3/gcc/value-prof.c @@ -506,9 +506,13 @@ check_counter (gimple stmt, const char * name, } else { - error ("%HCorrupted value profile: %s profiler overall count (%d) " - "does not match BB count (%d)", &locus, name, (int)*all, - (int)bb_count); + error_at (locus, "corrupted value profile: %s " + "profile counter (%d out of %d) inconsistent with " + "basic-block count (%d)", + name, + (int) *count, + (int) *all, + (int) bb_count); return true; } } |