Commit 35d6d8c1 by Jan van Male Committed by Diego Novillo

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
parent b02c2254
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> 2001-06-28 Diego Novillo <dnovillo@redhat.com>
* flow.c (dump_bb): Remove unused third argument to call * flow.c (dump_bb): Remove unused third argument to call
......
...@@ -188,16 +188,14 @@ dump_prediction (predictor, probability, bb) ...@@ -188,16 +188,14 @@ dump_prediction (predictor, probability, bb)
if (bb->count) if (bb->count)
{ {
fprintf (rtl_dump_file, " exec ", fprintf (rtl_dump_file, " exec ");
bb->count, e->count, e->count * 100.0 / bb->count);
fprintf (rtl_dump_file, HOST_WIDEST_INT_PRINT_DEC, fprintf (rtl_dump_file, HOST_WIDEST_INT_PRINT_DEC,
(HOST_WIDEST_INT) bb->count); (HOST_WIDEST_INT) bb->count);
fprintf (rtl_dump_file, " hit ", fprintf (rtl_dump_file, " hit ");
e->count, e->count * 100.0 / bb->count);
fprintf (rtl_dump_file, HOST_WIDEST_INT_PRINT_DEC, fprintf (rtl_dump_file, HOST_WIDEST_INT_PRINT_DEC,
(HOST_WIDEST_INT) e->count); (HOST_WIDEST_INT) e->count);
fprintf (rtl_dump_file, " (%.1f%%)", fprintf (rtl_dump_file, " (%.1f%%)",
e->count, e->count * 100.0 / bb->count); e->count * 100.0 / bb->count);
} }
fprintf (rtl_dump_file, "\n"); fprintf (rtl_dump_file, "\n");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment