Commit 2a6a63c1 by Kazuhiro Inaoka Committed by Nick Clifton

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
parent a23e08d9
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
......
......@@ -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)))));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment