aboutsummaryrefslogtreecommitdiff
path: root/gcc/value-prof.c
diff options
context:
space:
mode:
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 b5b9be8..e24d1b1 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;
}