diff options
Diffstat (limited to 'gcc/loop-doloop.c')
-rw-r--r-- | gcc/loop-doloop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/loop-doloop.c b/gcc/loop-doloop.c index f8429c4..a7e264f 100644 --- a/gcc/loop-doloop.c +++ b/gcc/loop-doloop.c @@ -655,7 +655,7 @@ doloop_optimize (struct loop *loop) max_cost = COSTS_N_INSNS (PARAM_VALUE (PARAM_MAX_ITERATIONS_COMPUTATION_COST)); - if (rtx_cost (desc->niter_expr, SET, optimize_loop_for_speed_p (loop)) + if (set_src_cost (desc->niter_expr, optimize_loop_for_speed_p (loop)) > max_cost) { if (dump_file) |