From bab1b91694390af0a110fec6aacc39d90d55f9c3 Mon Sep 17 00:00:00 2001 From: law Date: Thu, 12 Dec 1996 18:05:55 +0000 Subject: [PATCH] * reorg.c (fill_slots_from_thread): Don't call eligible_for_delay with an insn with asm operands. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13297 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/reorg.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/reorg.c b/gcc/reorg.c index beec1681cb4..637830bf620 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -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 arithmetic insn after the jump insn and put the arithmetic insn in the 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 dest; -- 2.11.0