OSDN Git Service

2008-08-20 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Aug 2008 13:55:12 +0000 (13:55 +0000)
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Aug 2008 13:55:12 +0000 (13:55 +0000)
* 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

gcc/ChangeLog
gcc/value-prof.c

index 5c137ee..a57217c 100644 (file)
@@ -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.
        
index b5b9be8..e24d1b1 100644 (file)
@@ -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;
        }