+2004-04-20 Paul Brook <paul@codesourcery.com>
+
+ * config/arm/arm.c (arm_legitimate_address_p): Use rtx_equal_p.
+
2004-04-20 Paul Brook <paul@codesourcery.com>
* config/arm/arm.c (arm_expand_prologue): Fix size calculation.
&& GET_MODE_SIZE (mode) <= 4
&& arm_address_register_rtx_p (XEXP (x, 0), strict_p)
&& GET_CODE (XEXP (x, 1)) == PLUS
- && XEXP (XEXP (x, 1), 0) == XEXP (x, 0))
+ && rtx_equal_p (XEXP (XEXP (x, 1), 0), XEXP (x, 0)))
return arm_legitimate_index_p (mode, XEXP (XEXP (x, 1), 1), outer,
strict_p);