From: H.J. Lu Date: Mon, 18 Aug 2008 19:48:41 +0000 (+0000) Subject: re PR bootstrap/37153 (Revision 139210 failed to bootstrap) X-Git-Tag: releases/gcc-4.4.0~3084 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3a4ca0340a02ef8ad478d44a3e027a9bc7d4468;p=thirdparty%2Fgcc.git re PR bootstrap/37153 (Revision 139210 failed to bootstrap) 2008-08-18 H.J. Lu PR bootstrap/37153 * value-prof.c (check_counter): Dereference pointer to overall count when printing it. From-SVN: r139211 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 690562bc24a8..e080b44b4cb9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-08-18 H.J. Lu + + PR bootstrap/37153 + * value-prof.c (check_counter): Dereference pointer to overall + count when printing it. + 2008-08-18 H.J. Lu * profile.h: Really add it. diff --git a/gcc/value-prof.c b/gcc/value-prof.c index f3522f6dcb50..e2caceca0356 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; }