summaryrefslogtreecommitdiff
path: root/gcc/value-prof.c
diff options
context:
space:
mode:
authorManuel López-Ibáñez <manu@gcc.gnu.org>2008-08-20 13:55:12 +0000
committerManuel López-Ibáñez <manu@gcc.gnu.org>2008-08-20 13:55:12 +0000
commitd3d28d264b90f21d49ece2d624ea38624cbe7b51 (patch)
treea65c548b09e0158d0947ec1e6e1392106cff33a1 /gcc/value-prof.c
parent5b6148c5b58b8e7f1df359425c886f8146d89ec6 (diff)
downloadgcc-d3d28d264b90f21d49ece2d624ea38624cbe7b51.tar.gz
value-prof.c (check_counter): Revert wrong call to error.
2008-08-20 Manuel Lopez-Ibanez <manu@gcc.gnu.org> * value-prof.c (check_counter): Revert wrong call to error. From-SVN: r139295
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;
}