diff options
Diffstat (limited to 'gcc/predict.c')
-rw-r--r-- | gcc/predict.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/predict.c b/gcc/predict.c index 92b956b..44142c0 100644 --- a/gcc/predict.c +++ b/gcc/predict.c @@ -358,7 +358,7 @@ estimate_probability (loops_info) successors. */ if (!header_found) for (e = BASIC_BLOCK(j)->succ; e; e = e->succ_next) - if (e->dest->index <= 0 + if (e->dest->index < 0 || !TEST_BIT (loop->nodes, e->dest->index)) predict_edge (e, PRED_LOOP_EXIT, (REG_BR_PROB_BASE |