predict.c (propagate_freq): Compute correctly frequency of EXIT_BLOCK.

* predict.c (propagate_freq): Compute correctly frequency of
	EXIT_BLOCK.

From-SVN: r79621
This commit is contained in:
Jan Hubicka 2004-03-18 16:03:12 +01:00 committed by Jan Hubicka
parent fed8129b15
commit 214ee4a2c6
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-03-18 Jan Hubicka <jh@suse.cz>
* predict.c (propagate_freq): Compute correctly frequency of
EXIT_BLOCK.
2004-03-17 Eric Christopher <echristo@redhat.com>
* builtins.c (apply_args_size): Use reg_raw_mode.

View file

@ -905,7 +905,7 @@ propagate_freq (struct loop *loop)
/* For each basic block we need to visit count number of his predecessors
we need to visit first. */
FOR_EACH_BB (bb)
FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR, NULL, next_bb)
{
if (BLOCK_INFO (bb)->tovisit)
{