summaryrefslogtreecommitdiff
path: root/gcc/predict.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-18 15:03:12 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2004-03-18 15:03:12 +0000
commitd10d29c07cd3778710a992d364941427b123f683 (patch)
treea9a0765bd2f86be10f7353a57a0e972c6feb1f4a /gcc/predict.c
parente1e51a4a5724cbe7049559fa85b1f070d3579551 (diff)
downloadgcc-d10d29c07cd3778710a992d364941427b123f683.tar.gz
* predict.c (propagate_freq): Compute correctly frequency of
EXIT_BLOCK. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79621 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/predict.c')
-rw-r--r--gcc/predict.c2
1 files changed, 1 insertions, 1 deletions
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)
{