From d6749decf62e2f4bdca0f2586c05614cdb081c6a Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Wed, 23 Sep 1992 19:22:40 -0400 Subject: [PATCH] (fill_simple_delay_slots): Don't make copy of insn that references CC0. From-SVN: r2214 --- gcc/reorg.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gcc/reorg.c b/gcc/reorg.c index c89ce73e65a..1b0fdfb15d9 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -2572,8 +2572,7 @@ fill_simple_delay_slots (first, non_jumps_p) && ! insn_sets_resource_p (next_trial, &set, 1) && ! insn_sets_resource_p (next_trial, &needed, 1) #ifdef HAVE_cc0 - && ! (reg_mentioned_p (cc0_rtx, PATTERN (next_trial)) - && ! sets_cc0_p (PATTERN (next_trial))) + && ! reg_mentioned_p (cc0_rtx, PATTERN (next_trial)) #endif && ! (maybe_never && may_trap_p (PATTERN (next_trial))) && (next_trial = try_split (PATTERN (next_trial), next_trial, 0)) -- 2.30.2