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
This commit is contained in:
Jan van Male 2001-06-29 00:46:11 -04:00 committed by Diego Novillo
parent b02c22542a
commit 35d6d8c165
2 changed files with 9 additions and 7 deletions

View File

@ -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>

View File

@ -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");
}