Also, fix formatting problem in previous ChangeLog commit.
authorJan van Male <jan.vanmale@fenk.wau.nl>
Fri, 29 Jun 2001 04:46:11 +0000 (00:46 -0400)
committerDiego Novillo <dnovillo@gcc.gnu.org>
Fri, 29 Jun 2001 04:46:11 +0000 (00:46 -0400)
2001-06-28  Jan van Male  <jan.vanmale@fenk.wau.nl>

* predict.c (dump_prediction): Eliminate fprintf warning.

From-SVN: r43650

gcc/ChangeLog
gcc/predict.c

index 11d9fd8e2cb1fc81142b49d4d3d38289d9035b75..8ced79461e64f9e3657b72151cc371e32839c003 100644 (file)
@@ -1,7 +1,11 @@
+2001-06-28  Jan van Male  <jan.vanmale@fenk.wau.nl>
+
+       * predict.c (dump_prediction): Eliminate fprintf warning.
+
 2001-06-28  Diego Novillo  <dnovillo@redhat.com>
 
-      * flow.c (dump_bb): Remove unused third argument to call
-      to fprintf when displaying the basic block header.
+       * flow.c (dump_bb): Remove unused third argument to call
+       to fprintf when displaying the basic block header.
 
 2001-06-28  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
            Jeff Law <law@redhat.com>
index 2bf13b3c537883fbbb591e92c9656f262c0e41bf..8557313165f79a6bc59292f0fa08cd375a58374b 100644 (file)
@@ -188,16 +188,14 @@ dump_prediction (predictor, probability, bb)
 
   if (bb->count)
     {
-      fprintf (rtl_dump_file, "  exec ",
-              bb->count, e->count, e->count * 100.0 / bb->count);
+      fprintf (rtl_dump_file, "  exec ");
       fprintf (rtl_dump_file, HOST_WIDEST_INT_PRINT_DEC,
               (HOST_WIDEST_INT) bb->count);
-      fprintf (rtl_dump_file, " hit ",
-              e->count, e->count * 100.0 / bb->count);
+      fprintf (rtl_dump_file, " hit ");
       fprintf (rtl_dump_file, HOST_WIDEST_INT_PRINT_DEC,
               (HOST_WIDEST_INT) e->count);
       fprintf (rtl_dump_file, " (%.1f%%)",
-              e->count, e->count * 100.0 / bb->count);
+              e->count * 100.0 / bb->count);
     }
   fprintf (rtl_dump_file, "\n");
 }