diff options
author | Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> | 2005-09-07 11:57:47 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2005-09-07 11:57:47 +0000 |
commit | 085fd657f957e7e1741b92423222ee6542d8ae91 (patch) | |
tree | d3a7743f14958942978532e6a52cf28da8e533c7 /gcc | |
parent | b735f45d30e9e8aeadb4d6c3d01be4798da9a904 (diff) | |
download | gcc-085fd657f957e7e1741b92423222ee6542d8ae91.zip gcc-085fd657f957e7e1741b92423222ee6542d8ae91.tar.gz gcc-085fd657f957e7e1741b92423222ee6542d8ae91.tar.bz2 |
re PR target/23747 (ICE with -O2, -O3 execute/builtins/memcpy-chk.c)
PR target/23747
* config/m32r.md (movmemsi_internal): Canonicalize order of operands in
PLUS component of template.
From-SVN: r103987
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/m32r/m32r.md | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f97e855..dd30a6c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-09-08 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> + + PR target/23747 + * config/m32r.md (movmemsi_internal): Canonicalize order of + operands in PLUS component of template. + 2005-09-07 Andreas Krebbel <krebbel1@de.ibm.com> * reload1.c (fixup_eh_region_note): Remove assertion. diff --git a/gcc/config/m32r/m32r.md b/gcc/config/m32r/m32r.md index ac2fee1..9b35d14 100644 --- a/gcc/config/m32r/m32r.md +++ b/gcc/config/m32r/m32r.md @@ -2558,8 +2558,8 @@ (mem:BLK (match_operand:SI 1 "register_operand" "r"))) ;; source (use (match_operand:SI 2 "m32r_block_immediate_operand" "J"));; # bytes to move (set (match_operand:SI 3 "register_operand" "=0") - (plus:SI (match_dup 0) - (minus (match_dup 2) (const_int 4)))) + (plus:SI (minus (match_dup 2) (const_int 4)) + (match_dup 0))) (set (match_operand:SI 4 "register_operand" "=1") (plus:SI (match_dup 1) (match_dup 2))) |