* value-prof.c (check_counter): Corrected error message.
authorAhmad Sharif <asharif@google.com>
Sat, 29 Jan 2011 03:54:56 +0000 (03:54 +0000)
committerAhmad Sharif <asharif@gcc.gnu.org>
Sat, 29 Jan 2011 03:54:56 +0000 (03:54 +0000)
From-SVN: r169387

gcc/ChangeLog
gcc/value-prof.c

index c293fd708af1839564bd6f9abe00874d3943eee3..a7c3ff35b4a5c18ea7ed81c4b9ed2860aa5e59b9 100644 (file)
@@ -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.
index 0a36ed210c85e9d38b4b3cce2f2c9ab97a503f94..8491c776f7cf44ad5511546e8c0afeddb65750b0 100644 (file)
@@ -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;
        }
     }