Commit c256f143 by Eric Botcazou Committed by Eric Botcazou

* reorg.c (fill_slots_from_thread): Do not copy frame-related insns.

From-SVN: r217381
parent 059e92fd
2014-11-11 Eric Botcazou <ebotcazou@adacore.com>
* reorg.c (fill_slots_from_thread): Do not copy frame-related insns.
2014-11-11 Eric Botcazou <ebotcazou@adacore.com>
PR target/61535
* config/sparc/sparc.c (function_arg_vector_value): Deal with vectors
smaller than 8 bytes.
......@@ -2501,9 +2501,11 @@ fill_slots_from_thread (rtx_insn *insn, rtx condition, rtx thread_or_return,
/* There are two ways we can win: If TRIAL doesn't set anything
needed at the opposite thread and can't trap, or if it can
go into an annulled delay slot. */
go into an annulled delay slot. But we want neither to copy
nor to speculate frame-related insns. */
if (!must_annul
&& (condition == const_true_rtx
&& ((condition == const_true_rtx
&& (own_thread || !RTX_FRAME_RELATED_P (trial)))
|| (! insn_sets_resource_p (trial, &opposite_needed, true)
&& ! may_trap_or_fault_p (pat)
&& ! RTX_FRAME_RELATED_P (trial))))
......
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