diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/value-prof.c | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5c137ee..a57217c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2008-08-20 Manuel Lopez-Ibanez <manu@gcc.gnu.org> + * value-prof.c (check_counter): Revert wrong call to error. + +2008-08-20 Manuel Lopez-Ibanez <manu@gcc.gnu.org> + * profile.c: Update calls to inform. * value-prof.c: Update calls to inform. 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; } |