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-Tag: prereleases/libstdc++-3.0.95~3562 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35d6d8c165c7854f25d274e0c9e948ac1fe9e320;p=thirdparty%2Fgcc.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 11d9fd8e2cb1..8ced79461e64 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 2bf13b3c5378..8557313165f7 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"); }