From 57c96ea598b9f7b24c0b6d2db31e2a422b9e4c36 Mon Sep 17 00:00:00 2001 From: jrv Date: Sat, 13 Mar 1993 21:33:23 +0000 Subject: (emit_swap_insn): If emitting after a cc0 setter, link the cc0 insns. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3726 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/reg-stack.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/reg-stack.c') diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index c0a37ee94d2..7c92c415a62 100644 --- a/gcc/reg-stack.c +++ b/gcc/reg-stack.c @@ -1587,6 +1587,9 @@ emit_swap_insn (insn, regstack, reg) return; } + if (sets_cc0_p (PATTERN (i1))) + link_cc0_insns (i1); + swap_rtx = gen_swapdf (FP_mode_reg[hard_regno][(int) DFmode], FP_mode_reg[FIRST_STACK_REG][(int) DFmode]); swap_insn = emit_insn_after (swap_rtx, i1); -- cgit v1.2.1