From fabf77509211dabd11f2f06b39115c7f4e4db735 Mon Sep 17 00:00:00 2001 From: James Van Artsdalen Date: Sat, 13 Mar 1993 21:33:23 +0000 Subject: (emit_swap_insn): If emitting after a cc0 setter, link the cc0 insns. From-SVN: r3726 --- gcc/reg-stack.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc') diff --git a/gcc/reg-stack.c b/gcc/reg-stack.c index c0a37ee..7c92c41 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.1