summaryrefslogtreecommitdiff
path: root/gcc/value-prof.c
diff options
context:
space:
mode:
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-20 13:50:26 +0000
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-20 13:50:26 +0000
commit32fc3782e7c7e138fa47084fef933db9a48e6527 (patch)
treefdec15f37f59af2dadcd4869a3bf6a3618b4f69c /gcc/value-prof.c
parent5bcc316e1b642640cf09a651605077c8f44e2bc7 (diff)
downloadgcc-32fc3782e7c7e138fa47084fef933db9a48e6527.tar.gz
2008-08-20 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* profile.c: Update calls to inform. * value-prof.c: Update calls to inform. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139294 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/value-prof.c')
-rw-r--r--gcc/value-prof.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/gcc/value-prof.c b/gcc/value-prof.c
index e2caceca035..b5b9be837da 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;
}