summaryrefslogtreecommitdiff
path: root/gcc/value-prof.c
diff options
context:
space:
mode:
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-20 13:55:12 +0000
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-20 13:55:12 +0000
commit9bfeb197f422010c0436a9cf0a15a6fd85e9cc6f (patch)
treea65c548b09e0158d0947ec1e6e1392106cff33a1 /gcc/value-prof.c
parent32fc3782e7c7e138fa47084fef933db9a48e6527 (diff)
downloadgcc-9bfeb197f422010c0436a9cf0a15a6fd85e9cc6f.tar.gz
2008-08-20 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
* value-prof.c (check_counter): Revert wrong call to error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139295 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/value-prof.c')
-rw-r--r--gcc/value-prof.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/value-prof.c b/gcc/value-prof.c
index b5b9be837da..e24d1b1be0f 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;
}