From: Jan van Male Date: Fri, 29 Jun 2001 04:46:11 +0000 (-0400) Subject: Also, fix formatting problem in previous ChangeLog commit. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=35d6d8c165c7854f25d274e0c9e948ac1fe9e320;p=gcc.git Also, fix formatting problem in previous ChangeLog commit. 2001-06-28 Jan van Male * predict.c (dump_prediction): Eliminate fprintf warning. From-SVN: r43650 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 11d9fd8e2cb..8ced79461e6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,7 +1,11 @@ +2001-06-28 Jan van Male + + * predict.c (dump_prediction): Eliminate fprintf warning. + 2001-06-28 Diego Novillo - * 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 Jeff Law diff --git a/gcc/predict.c b/gcc/predict.c index 2bf13b3c537..8557313165f 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"); }