PR rtl-optimization/51044
* dse.c (emit_inc_dec_insn_before): Ensure new_insn is an instruction
rather than just insn body.
From-SVN: r181861
2011-11-30 Jakub Jelinek <jakub@redhat.com>
+ PR rtl-optimization/51044
+ * dse.c (emit_inc_dec_insn_before): Ensure new_insn is an instruction
+ rather than just insn body.
+
PR target/50725
* function.c (thread_prologue_and_epilogue_insns): If
stack_realign_drap, add drap_reg to SET_UP_BY_PROLOGUE
/* We can reuse all operands without copying, because we are about
to delete the insn that contained it. */
if (srcoff)
- new_insn = gen_add3_insn (dest, src, srcoff);
+ {
+ start_sequence ();
+ emit_insn (gen_add3_insn (dest, src, srcoff));
+ new_insn = get_insns ();
+ end_sequence ();
+ }
else
new_insn = gen_move_insn (dest, src);
info.first = new_insn;