diff options
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/predict.c | 8 |
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"); } |