aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan van Male <jan.vanmale@fenk.wau.nl>2001-06-29 00:46:11 -0400
committerDiego Novillo <dnovillo@gcc.gnu.org>2001-06-29 00:46:11 -0400
commit35d6d8c165c7854f25d274e0c9e948ac1fe9e320 (patch)
tree278616b54408ac5b83a26472df029c49b8d1f7f3 /gcc
parentb02c22542a6d833c5c4902c27832c42de8799e31 (diff)
downloadgcc-35d6d8c165c7854f25d274e0c9e948ac1fe9e320.zip
gcc-35d6d8c165c7854f25d274e0c9e948ac1fe9e320.tar.gz
gcc-35d6d8c165c7854f25d274e0c9e948ac1fe9e320.tar.bz2
Also, fix formatting problem in previous ChangeLog commit.
2001-06-28 Jan van Male <jan.vanmale@fenk.wau.nl> * predict.c (dump_prediction): Eliminate fprintf warning. From-SVN: r43650
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/predict.c8
2 files changed, 9 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 11d9fd8..8ced794 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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>
diff --git a/gcc/predict.c b/gcc/predict.c
index 2bf13b3..8557313 100644
--- a/gcc/predict.c
+++ b/gcc/predict.c
@@ -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");
}