(eliminate_regs, SET case): Check for INSN_LIST along with EXPR_LIST.

From-SVN: r5489
This commit is contained in:
Richard Stallman 1993-09-27 22:59:53 +00:00
parent 3ac2f5d2ae
commit 572ca60a63

View File

@ -3015,7 +3015,8 @@ eliminate_regs (x, mem_mode, insn)
/* If SET_DEST changed from a REG to a MEM and INSN is an insn,
write a CLOBBER insn. */
if (GET_CODE (SET_DEST (x)) == REG && GET_CODE (new0) == MEM
&& insn != 0 && GET_CODE (insn) != EXPR_LIST)
&& insn != 0 && GET_CODE (insn) != EXPR_LIST
&& GET_CODE (insn) != INSN_LIST)
emit_insn_after (gen_rtx (CLOBBER, VOIDmode, SET_DEST (x)), insn);
if (new0 != SET_DEST (x) || new1 != SET_SRC (x))