+Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
+
+ * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
+ * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
+ and SET_DEST. Update comment.
+
Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* config/c4x/c4x.c: Include ggc.h.
last_pending_memory_flush = alloc_INSN_LIST (insn, NULL_RTX);
}
-/* Analyze a single SET or CLOBBER rtx, X, creating all dependencies generated
- by the write to the destination of X, and reads of everything mentioned. */
+/* Analyze a single SET, CLOBBER, PRE_DEC, POST_DEC, PRE_INC or POST_INC
+ rtx, X, creating all dependencies generated by the write to the
+ destination of X, and reads of everything mentioned. */
static void
sched_analyze_1 (x, insn)
rtx insn;
{
register int regno;
- register rtx dest = SET_DEST (x);
+ register rtx dest = XEXP (x, 0);
enum rtx_code code = GET_CODE (x);
if (dest == 0)
sched_analyze_2 (XEXP (dest, 1), insn);
sched_analyze_2 (XEXP (dest, 2), insn);
}
- dest = SUBREG_REG (dest);
+ dest = XEXP (dest, 0);
}
if (GET_CODE (dest) == REG)