PR middle-end/34762
* reload.c (find_reloads_toplev): Use rtx_equal_p to compare x and mem.
From-SVN: r131508
+2008-01-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ PR middle-end/34762
+ * reload.c (find_reloads_toplev): Use rtx_equal_p to compare x and mem.
+
2008-01-11 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.c (override_options): Set flag_shlib.
x = mem;
i = find_reloads_address (GET_MODE (x), &x, XEXP (x, 0), &XEXP (x, 0),
opnum, type, ind_levels, insn);
- if (x != mem)
+ if (!rtx_equal_p (x, mem))
push_reg_equiv_alt_mem (regno, x);
if (address_reloaded)
*address_reloaded = i;