* config/ia64/ia64.c (spill_restore_mem): Handle emitting
the first insn in a sequence.
From-SVN: r35772
+2000-08-17 Richard Henderson <rth@cygnus.com>
+
+ * config/ia64/ia64.c (spill_restore_mem): Handle emitting
+ the first insn in a sequence.
+
Thu Aug 17 22:40:05 EDT 2000 John Wehle (john@feith.com)
* alias.c (true_dependence, write_dependence_p): A read
spill_fill_data.init_after
= emit_insn_after (seq, spill_fill_data.init_after);
else
- spill_fill_data.init_after
- = emit_insn_before (seq, get_insns ());
+ {
+ rtx first = get_insns ();
+ if (first)
+ spill_fill_data.init_after
+ = emit_insn_before (seq, first);
+ else
+ spill_fill_data.init_after = emit_insn (seq);
+ }
}
mem = gen_rtx_MEM (GET_MODE (reg), spill_fill_data.iter_reg[iter]);