From: Richard Kenner Date: Wed, 23 Sep 1992 23:22:40 +0000 (-0400) Subject: (fill_simple_delay_slots): Don't make copy of insn that references CC0. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d6749decf62e2f4bdca0f2586c05614cdb081c6a;p=gcc.git (fill_simple_delay_slots): Don't make copy of insn that references CC0. From-SVN: r2214 --- 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))