]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/13866 (ICE in extract_insn, at recog.c:2083)
authorRichard Earnshaw <rearnsha@arm.com>
Wed, 18 Feb 2004 18:44:23 +0000 (18:44 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Wed, 18 Feb 2004 18:44:23 +0000 (18:44 +0000)
PR target/13866
* arm.c (load_multiple_operation): Don't insist that the source reg
of a post-increment component is the same as the destination.
(store_multiple_operation): Likewise.

From-SVN: r78041

gcc/ChangeLog
gcc/config/arm/arm.c

index e09284cfbfcae2b0eb5af299e13d51729081befe..05145c8d7102894c12d00fde79fa96097418fdcb 100644 (file)
@@ -1,3 +1,10 @@
+2004-02-18  Richard Earnshaw  <rearnsha@arm.com>
+
+       PR target/13866
+       * arm.c (load_multiple_operation): Don't insist that the source reg
+       of a post-increment component is the same as the destination.
+       (store_multiple_operation): Likewise.
+
 2004-02-18  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/h8300/h8300.md: Move movsf patterns into one section
index 2ec011e90321fb106f2f5764eadab545b90d4f64..7ae53123c77941cd9f65368c0b9ebfdf96d165b2 100644 (file)
@@ -5051,7 +5051,6 @@ load_multiple_operation (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
       /* Now check it more carefully.  */
       if (GET_CODE (SET_DEST (elt)) != REG
           || GET_CODE (XEXP (SET_SRC (elt), 0)) != REG
-          || REGNO (XEXP (SET_SRC (elt), 0)) != REGNO (SET_DEST (elt))
           || GET_CODE (XEXP (SET_SRC (elt), 1)) != CONST_INT
           || INTVAL (XEXP (SET_SRC (elt), 1)) != (count - 1) * 4)
         return 0;
@@ -5111,7 +5110,6 @@ store_multiple_operation (rtx op, enum machine_mode mode ATTRIBUTE_UNUSED)
       /* Now check it more carefully.  */
       if (GET_CODE (SET_DEST (elt)) != REG
           || GET_CODE (XEXP (SET_SRC (elt), 0)) != REG
-          || REGNO (XEXP (SET_SRC (elt), 0)) != REGNO (SET_DEST (elt))
           || GET_CODE (XEXP (SET_SRC (elt), 1)) != CONST_INT
           || INTVAL (XEXP (SET_SRC (elt), 1)) != (count - 1) * 4)
         return 0;