diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2008-08-18 19:48:41 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2008-08-18 12:48:41 -0700 |
commit | c3a4ca0340a02ef8ad478d44a3e027a9bc7d4468 (patch) | |
tree | 5b6ac1a178161bc69caa8d877edf1ebd0aaaa140 /gcc | |
parent | 3aa71f9da012bd82ee327edeb03723d9ef951955 (diff) | |
download | gcc-c3a4ca0340a02ef8ad478d44a3e027a9bc7d4468.zip gcc-c3a4ca0340a02ef8ad478d44a3e027a9bc7d4468.tar.gz gcc-c3a4ca0340a02ef8ad478d44a3e027a9bc7d4468.tar.bz2 |
re PR bootstrap/37153 (Revision 139210 failed to bootstrap)
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.
From-SVN: r139211
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/value-prof.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 690562b..e080b44 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 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> diff --git a/gcc/value-prof.c b/gcc/value-prof.c index f3522f6..e2cacec 100644 --- a/gcc/value-prof.c +++ b/gcc/value-prof.c @@ -466,7 +466,7 @@ check_counter (gimple stmt, const char * name, { 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; @@ -475,7 +475,7 @@ 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, + "does not match BB count (%d)", &locus, name, (int)*all, (int)bb_count); return true; } |