From 5b6148c5b58b8e7f1df359425c886f8146d89ec6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20L=C3=B3pez-Ib=C3=A1=C3=B1ez?= Date: Wed, 20 Aug 2008 13:50:26 +0000 Subject: profile.c: Update calls to inform. 2008-08-20 Manuel Lopez-Ibanez * profile.c: Update calls to inform. * value-prof.c: Update calls to inform. From-SVN: r139294 --- gcc/value-prof.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gcc/value-prof.c') diff --git a/gcc/value-prof.c b/gcc/value-prof.c index e2cacec..b5b9be8 100644 --- a/gcc/value-prof.c +++ b/gcc/value-prof.c @@ -464,9 +464,9 @@ check_counter (gimple stmt, const char * name, : DECL_SOURCE_LOCATION (current_function_decl); if (flag_profile_correction) { - inform ("%HCorrecting inconsistent value profile: " + inform (locus, "Correcting inconsistent value profile: " "%s profiler overall count (%d) does not match BB count " - "(%d)", &locus, name, (int)*all, (int)bb_count); + "(%d)", name, (int)*all, (int)bb_count); *all = bb_count; if (*count > *all) *count = *all; @@ -474,8 +474,9 @@ 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, + error (locus, + "Corrupted value profile: %s profiler overall count (%d) " + "does not match BB count (%d)", name, (int)*all, (int)bb_count); return true; } -- cgit v1.1