diff options
author | Kaz Kojima <kkojima@gcc.gnu.org> | 2009-08-12 22:26:13 +0000 |
---|---|---|
committer | Kaz Kojima <kkojima@gcc.gnu.org> | 2009-08-12 22:26:13 +0000 |
commit | d5652a5a2d4ff90fc70e431b153d75241bd820cb (patch) | |
tree | 513fc81ed40366b2f6886578fea902f0aa795052 | |
parent | d8158ff1e284a02d73ccb9eb14c104a2821ee539 (diff) | |
download | gcc-d5652a5a2d4ff90fc70e431b153d75241bd820cb.zip gcc-d5652a5a2d4ff90fc70e431b153d75241bd820cb.tar.gz gcc-d5652a5a2d4ff90fc70e431b153d75241bd820cb.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/sh/sh.md | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 33778f8..16e7d23 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 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> diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md index 30084c2..f06098b 100644 --- a/gcc/config/sh/sh.md +++ b/gcc/config/sh/sh.md @@ -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))); |