diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-09-09 13:07:10 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-09-09 13:07:10 +0000 |
commit | d11aedc75ca0e63e85a67401ce9613a830e9d6f6 (patch) | |
tree | fdde063e9a6ea15cd08c000aff12369fe5e168b4 /gcc/reload1.c | |
parent | 5d5ee71fdce406c03f481463c65c5c347005551e (diff) | |
download | gcc-d11aedc75ca0e63e85a67401ce9613a830e9d6f6.tar.gz |
gcc/
* asan.c (asan_emit_stack_protection): Use gen_int_mode instead of
GEN_INT.
* builtins.c (expand_errno_check): Likewise.
* dwarf2cfi.c (init_return_column_size): Likewise.
* except.c (sjlj_mark_call_sites): Likewise.
* expr.c (move_by_pieces_1, store_by_pieces_2): Likewise.
* lra-constraints.c (emit_inc): Likewise.
* ree.c (combine_set_extension): Likewise.
* regmove.c (fixup_match_2): Likewise.
* reload1.c (inc_for_reload): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@202394 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r-- | gcc/reload1.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c index db183819c85..7a82c07ef21 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -9157,7 +9157,9 @@ inc_for_reload (rtx reloadreg, rtx in, rtx value, int inc_amount) emit_insn (gen_add2_insn (reloadreg, inc)); emit_insn (gen_move_insn (incloc, reloadreg)); if (CONST_INT_P (inc)) - emit_insn (gen_add2_insn (reloadreg, GEN_INT (-INTVAL (inc)))); + emit_insn (gen_add2_insn (reloadreg, + gen_int_mode (-INTVAL (inc), + GET_MODE (reloadreg)))); else emit_insn (gen_sub2_insn (reloadreg, inc)); } |