Commit d5652a5a by Kaz Kojima

re PR target/41029 (ICE RTL check: expected code 'reg', have 'post_inc' in…

re PR target/41029 (ICE RTL check: expected code 'reg', have 'post_inc' in rhs_regno, at rtl.h:1008)

	PR target/41029
	* config/sh/sh.md (reload_outdf__RnFRm+4): Fix thinko.

From-SVN: r150709
parent d8158ff1
2009-08-12 Kaz Kojima <kkojima@gcc.gnu.org>
PR target/41029
* config/sh/sh.md (reload_outdf__RnFRm+4): Fix thinko.
2009-08-12 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/sh.c (sh_promote_function_mode): Add ATTRIBUTE_UNUSED.
2009-08-12 Richard Guenther <rguenther@suse.de>
......
......@@ -6065,7 +6065,7 @@ label:
/* If we have modified the stack pointer, the value that we have
read with post-increment might be modified by an interrupt,
so write it back. */
if (REGNO (addr) == STACK_POINTER_REGNUM)
if (REGNO (XEXP (addr, 0)) == STACK_POINTER_REGNUM)
emit_insn (gen_push_e (reg0));
else
emit_insn (gen_addsi3 (XEXP (operands[1], 0), XEXP (operands[1], 0), GEN_INT (-4)));
......
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