* haifa-sched.c (sched_analyze): Put all JUMP_INSNs on the last
pending memory flush list.
From-SVN: r21835
Tue Aug 18 10:32:11 1998 Jeffrey A Law (law@cygnus.com)
+ * haifa-sched.c (sched_analyze): Put all JUMP_INSNs on the last
+ pending memory flush list.
+
* regmove.c (fixup_match_2): Do not call reg_overlap_mentioned_p
on notes.
{
if (GET_CODE (insn) == INSN || GET_CODE (insn) == JUMP_INSN)
{
+ /* Make each JUMP_INSN a scheduling barrier for memory references. */
+ if (GET_CODE (insn) == JUMP_INSN)
+ last_pending_memory_flush
+ = alloc_INSN_LIST (insn, last_pending_memory_flush);
sched_analyze_insn (PATTERN (insn), insn, loop_notes);
loop_notes = 0;
}