aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Edelsohn <dje@gcc.gnu.org>2001-09-25 14:02:42 -0400
committerDavid Edelsohn <dje@gcc.gnu.org>2001-09-25 14:02:42 -0400
commite903c96af0352839873e05e90256276f96a9d77e (patch)
treea2975f32354681048a1fab74eadbe8fe964905d1 /gcc
parentca6c03cabd8de0c3d6614ffd3100eb063778871b (diff)
downloadgcc-e903c96af0352839873e05e90256276f96a9d77e.zip
gcc-e903c96af0352839873e05e90256276f96a9d77e.tar.gz
gcc-e903c96af0352839873e05e90256276f96a9d77e.tar.bz2
Fix last patch to allow indexed operand.
From-SVN: r45809
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/rs6000/rs6000.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index cf47f98..c196489 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -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