Fix last patch to allow indexed operand.
authorDavid Edelsohn <dje@gcc.gnu.org>
Tue, 25 Sep 2001 18:02:42 +0000 (14:02 -0400)
committerDavid Edelsohn <dje@gcc.gnu.org>
Tue, 25 Sep 2001 18:02:42 +0000 (14:02 -0400)
From-SVN: r45809

gcc/config/rs6000/rs6000.c

index cf47f98fff18e6a9aec5b1ec75bd4e74777559df..c196489a2347f876125b82c6fdaadeed8461bd76 100644 (file)
@@ -1310,8 +1310,8 @@ lwa_operand (op, mode)
        && GET_CODE (XEXP (inner, 0)) != PRE_INC
        && GET_CODE (XEXP (inner, 0)) != PRE_DEC
        && (GET_CODE (XEXP (inner, 0)) != PLUS
-           || (GET_CODE (XEXP (XEXP (inner, 0), 1)) == CONST_INT
-               && INTVAL (XEXP (XEXP (inner, 0), 1)) % 4 == 0)));
+           || GET_CODE (XEXP (XEXP (inner, 0), 1)) != CONST_INT
+           || INTVAL (XEXP (XEXP (inner, 0), 1)) % 4 == 0));
 }
 
 /* Return 1 if the operand, used inside a MEM, is a valid first argument