Commit ed079c4b by Jakub Jelinek Committed by Jakub Jelinek

re PR rtl-optimization/51044 (gfortran.dg/alloc_comp_class_2.f90 …

re PR rtl-optimization/51044 (gfortran.dg/alloc_comp_class_2.f90  gfortran.dg/widechar_intrinsics_10.f90 -O1 ICE)

	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
parent 5c43016f
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
......@@ -895,7 +895,12 @@ emit_inc_dec_insn_before (rtx mem ATTRIBUTE_UNUSED,
/* 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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment