diff options
author | Ahmad Sharif <asharif@google.com> | 2011-01-29 03:54:56 +0000 |
---|---|---|
committer | Ahmad Sharif <asharif@gcc.gnu.org> | 2011-01-29 03:54:56 +0000 |
commit | e0b77418ce90c353563d88ff5fab32f68cdc0bef (patch) | |
tree | bb3b3bbbd5047346861d2b70916a3839acff140a /gcc | |
parent | 0cd98787c20fd9c5f4aa55109735c3da49df9f51 (diff) | |
download | gcc-e0b77418ce90c353563d88ff5fab32f68cdc0bef.zip gcc-e0b77418ce90c353563d88ff5fab32f68cdc0bef.tar.gz gcc-e0b77418ce90c353563d88ff5fab32f68cdc0bef.tar.bz2 |
* value-prof.c (check_counter): Corrected error message.
From-SVN: r169387
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/value-prof.c | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c293fd7..a7c3ff3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2011-01-28 Ahmad Sharif <asharif@google.com> + + * value-prof.c (check_counter): Corrected error message. + 2011-01-29 Jie Zhang <jie@codesourcery.com> * config/arm/arm.c (arm_legitimize_reload_address): New. diff --git a/gcc/value-prof.c b/gcc/value-prof.c index 0a36ed2..8491c77 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; } } |