diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-09-16 09:11:19 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-09-16 09:11:19 +0000 |
commit | 2f7625017c3866c20a9d94fba926155f2c31e875 (patch) | |
tree | cae7430f04748a1dfbb6829f711a90c714fba92a /gcc/reload1.c | |
parent | e890a33c3b3bb2ec709d44c90c708acc38573322 (diff) | |
download | gcc-2f7625017c3866c20a9d94fba926155f2c31e875.tar.gz |
2013-09-16 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 202619 using svnmerge.py
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@202622 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/reload1.c')
-rw-r--r-- | gcc/reload1.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/reload1.c b/gcc/reload1.c index b8c3bfabbfb..7a82c07ef21 100644 --- a/gcc/reload1.c +++ b/gcc/reload1.c @@ -435,7 +435,7 @@ init_reload (void) gen_rtx_PLUS (Pmode, gen_rtx_REG (Pmode, LAST_VIRTUAL_REGISTER + 1), - GEN_INT (4))); + gen_int_mode (4, Pmode))); spill_indirect_levels = 0; while (memory_address_p (QImode, tem)) @@ -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)); } |