diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-09-09 13:07:02 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-09-09 13:07:02 +0000 |
commit | 5d5ee71fdce406c03f481463c65c5c347005551e (patch) | |
tree | a5201ad7e75918350ccb6467b3fc9ff8b667c680 /gcc/loop-unroll.c | |
parent | 0359f9f53a70edeb0517316df82971dec738dc5c (diff) | |
download | gcc-5d5ee71fdce406c03f481463c65c5c347005551e.tar.gz |
gcc/
* combine.c (simplify_set, expand_field_assignment, extract_left_shift)
(force_to_mode, simplify_shift_const_1, simplify_comparison):
Use gen_int_mode with the mode of the associated simplify_* call.
* explow.c (probe_stack_range, anti_adjust_stack_and_probe): Likewise.
* expmed.c (expand_shift_1): Likewise.
* function.c (instantiate_virtual_regs_in_insn): Likewise.
* loop-iv.c (iv_number_of_iterations): Likewise.
* loop-unroll.c (unroll_loop_runtime_iterations): Likewise.
* simplify-rtx.c (simplify_binary_operation_1): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202393 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop-unroll.c')
-rw-r--r-- | gcc/loop-unroll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/loop-unroll.c b/gcc/loop-unroll.c index 84902bfe5dd..95d58209224 100644 --- a/gcc/loop-unroll.c +++ b/gcc/loop-unroll.c @@ -1309,7 +1309,7 @@ unroll_loop_runtime_iterations (struct loop *loop) gcc_assert (!desc->const_iter); desc->niter_expr = simplify_gen_binary (UDIV, desc->mode, old_niter, - GEN_INT (max_unroll + 1)); + gen_int_mode (max_unroll + 1, desc->mode)); loop->nb_iterations_upper_bound = loop->nb_iterations_upper_bound.udiv (double_int::from_uhwi (max_unroll + 1), |