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 d1117e99f8c..25f7a4f8438 100644 --- a/gcc/loop-doloop.c +++ b/gcc/loop-doloop.c @@ -641,7 +641,7 @@ doloop_optimize (struct loop *loop) max_cost = COSTS_N_INSNS (PARAM_VALUE (PARAM_MAX_ITERATIONS_COMPUTATION_COST)); - if (set_src_cost (desc->niter_expr, optimize_loop_for_speed_p (loop)) + if (set_src_cost (desc->niter_expr, mode, optimize_loop_for_speed_p (loop)) > max_cost) { if (dump_file) |