From: Manuel López-Ibáñez Date: Wed, 20 Aug 2008 13:55:12 +0000 (+0000) Subject: value-prof.c (check_counter): Revert wrong call to error. X-Git-Tag: releases/gcc-4.4.0~3039 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3d28d264b90f21d49ece2d624ea38624cbe7b51;p=thirdparty%2Fgcc.git value-prof.c (check_counter): Revert wrong call to error. 2008-08-20 Manuel Lopez-Ibanez * value-prof.c (check_counter): Revert wrong call to error. From-SVN: r139295 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5c137ee34aaf..a57217cd8ca7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-08-20 Manuel Lopez-Ibanez + + * value-prof.c (check_counter): Revert wrong call to error. + 2008-08-20 Manuel Lopez-Ibanez * profile.c: Update calls to inform. diff --git a/gcc/value-prof.c b/gcc/value-prof.c index b5b9be837da0..e24d1b1be0fc 100644 --- a/gcc/value-prof.c +++ b/gcc/value-prof.c @@ -474,9 +474,8 @@ check_counter (gimple stmt, const char * name, } else { - error (locus, - "Corrupted value profile: %s profiler overall count (%d) " - "does not match BB count (%d)", name, (int)*all, + error ("%HCorrupted value profile: %s profiler overall count (%d) " + "does not match BB count (%d)", &locus, name, (int)*all, (int)bb_count); return true; }