Commit a0a7cb35 by Jeff Law

reorg.c (fill_slots_from_thread): Don't call eligible_for_delay with an insn with asm operands.

        * reorg.c (fill_slots_from_thread): Don't call eligible_for_delay
        with an insn with asm operands.

From-SVN: r13297
parent e4565aff
...@@ -3696,7 +3696,10 @@ fill_slots_from_thread (insn, condition, thread, opposite_thread, likely, ...@@ -3696,7 +3696,10 @@ fill_slots_from_thread (insn, condition, thread, opposite_thread, likely,
depend on the destination register. If so, try to place the opposite depend on the destination register. If so, try to place the opposite
arithmetic insn after the jump insn and put the arithmetic insn in the arithmetic insn after the jump insn and put the arithmetic insn in the
delay slot. If we can't do this, return. */ delay slot. If we can't do this, return. */
if (delay_list == 0 && likely && new_thread && GET_CODE (new_thread) == INSN) if (delay_list == 0 && likely && new_thread
&& GET_CODE (new_thread) == INSN
&& GET_CODE (PATTERN (new_thread)) != ASM_INPUT
&& asm_noperands (PATTERN (new_thread)) < 0)
{ {
rtx pat = PATTERN (new_thread); rtx pat = PATTERN (new_thread);
rtx dest; rtx dest;
......
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