summaryrefslogtreecommitdiff
path: root/gcc/value-prof.c
diff options
context:
space:
mode:
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-07 02:10:19 +0000
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-07 02:10:19 +0000
commit5fb6a9126a7c9e63e0330e2e089f5a6c664335a9 (patch)
tree75f96edfe80b6d74b595292cb3f885c6a8ade502 /gcc/value-prof.c
parent753b3ae123fb89b80b5ff057a26c9ec7c50d5020 (diff)
downloadgcc-5fb6a9126a7c9e63e0330e2e089f5a6c664335a9.tar.gz
2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org>
* c-lex.c: Replace %H by an explicit location. Update all calls. * c-common.c: Likewise. * c-decl.c: Likewise. * c-typeck.c: Likewise. * fold-const.c: Likewise. * gimplify.c: Likewise. * stmt.c: Likewise. * tree-cfg.c: Likewise. * tree-ssa-loop-niter.c: Likewise. * tree-vrp.c: Likewise. * value-prof.c: Likewise. java/ * jcf-parse.c: Replace %H by an explicit location. Update all calls. objc/ * objc-act.c: Replace %H by an explicit location. Update all calls. testsuite/ * gcc.dg/plugin/selfassign.c: Replace %H by an explicit location. Update all calls. * g++.dg/plugin/selfassign.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149310 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/value-prof.c')
-rw-r--r--gcc/value-prof.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/value-prof.c b/gcc/value-prof.c
index 120a68d61e8..e7a8e0f0747 100644
--- a/gcc/value-prof.c
+++ b/gcc/value-prof.c
@@ -474,9 +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,
- (int)bb_count);
+ error_at (locus, "Corrupted value profile: %s "
+ "profiler overall count (%d) does not match BB count (%d)",
+ name, (int)*all, (int)bb_count);
return true;
}
}