* reload1.c (move2add_note_store): Check for simple
auto-inc in destination.
From-SVN: r36923
+2000-10-17 Joern Rennecke <amylaar@redhat.co.uk>
+
+ * reload1.c (move2add_note_store): Check for simple
+ auto-inc in destination.
+
2000-10-17 Michael Chastain <chastain@redhat.com>
* config/i386/i386-aout.h: define INT_ASM_OP.
dst = SUBREG_REG (dst);
}
+ /* Some targets do argument pushes without adding REG_INC notes. */
+
+ if (GET_CODE (dst) == MEM)
+ {
+ dst = XEXP (dst, 0);
+ if (GET_CODE (dst) == PRE_INC || GET_CODE (dst) == POST_DEC
+ || GET_CODE (dst) == PRE_DEC || GET_CODE (dst) == POST_DEC)
+ {
+ regno = REGNO (XEXP (dst, 0));
+ reg_set_luid[regno] = move2add_luid;
+ reg_offset[regno] = dst;
+ }
+ return;
+ }
if (GET_CODE (dst) != REG)
return;