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
This commit is contained in:
Kazuhiro Inaoka 2005-09-07 11:57:47 +00:00 committed by Nick Clifton
parent b735f45d30
commit 085fd657f9
2 changed files with 8 additions and 2 deletions

View File

@ -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.

View File

@ -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)))