]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
value-prof.c (check_counter): Revert wrong call to error.
authorManuel López-Ibáñez <manu@gcc.gnu.org>
Wed, 20 Aug 2008 13:55:12 +0000 (13:55 +0000)
committerManuel López-Ibáñez <manu@gcc.gnu.org>
Wed, 20 Aug 2008 13:55:12 +0000 (13:55 +0000)
2008-08-20  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>

* value-prof.c (check_counter): Revert wrong call to error.

From-SVN: r139295

gcc/ChangeLog
gcc/value-prof.c

index 5c137ee34aafcd99c9fcb7c59898ed0a99862826..a57217cd8ca7d3f42d214657986a3950f38df7f0 100644 (file)
@@ -1,3 +1,7 @@
+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.
index b5b9be837da0616991345bf9dd09a22be1db9752..e24d1b1be0fcc5354b3c2f31ba8fa4b0390d1a18 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;
        }