diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/predict.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0ce701fcc51..e24a842f752 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/predict.c b/gcc/predict.c index a7a1f235cc7..669760bf41f 100644 --- a/gcc/predict.c +++ b/gcc/predict.c @@ -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) { |