re PR target/23309 (m32r-linux-gcc ICE: in extract_insn, at recog.c)

PR 23309
* config/m32r/m32r.c (m32r_reload_lr): Fix off by one error when deciding
  which instruction sequence to use.

From-SVN: r102943
This commit is contained in:
Kazuhiro Inaoka 2005-08-10 08:20:18 +00:00 committed by Nick Clifton
parent a23e08d92d
commit 2a6a63c1ae
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2005-08-10 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
PR 23309
* config/m32r/m32r.c (m32r_reload_lr): Fix off by one error when
deciding which instruction sequence to use.
2005-08-09 Dorit Nuzman <dorit@il.ibm.com>
* tree-vect-transform.c (vect_create_epilog_for_reduction): Set

View file

@ -1340,7 +1340,7 @@ m32r_reload_lr (rtx sp, int size)
if (size == 0)
emit_insn (gen_movsi (lr, gen_rtx_MEM (Pmode, sp)));
else if (size <= 32768)
else if (size < 32768)
emit_insn (gen_movsi (lr, gen_rtx_MEM (Pmode,
gen_rtx_PLUS (Pmode, sp,
GEN_INT (size)))));