2008-08-18 H.J. Lu <hongjiu.lu@intel.com>
+ PR bootstrap/37153
+ * value-prof.c (check_counter): Dereference pointer to overall
+ count when printing it.
+
+2008-08-18 H.J. Lu <hongjiu.lu@intel.com>
+
* profile.h: Really add it.
2008-08-18 H.J. Lu <hongjiu.lu@intel.com>
{
inform ("%HCorrecting inconsistent value profile: "
"%s profiler overall count (%d) does not match BB count "
- "(%d)", &locus, name, (int)all, (int)bb_count);
+ "(%d)", &locus, name, (int)*all, (int)bb_count);
*all = bb_count;
if (*count > *all)
*count = *all;
else
{
error ("%HCorrupted value profile: %s profiler overall count (%d) "
- "does not match BB count (%d)", &locus, name, (int)all,
+ "does not match BB count (%d)", &locus, name, (int)*all,
(int)bb_count);
return true;
}