(fill_simple_delay_slots): Don't make copy of insn that references CC0.
authorRichard Kenner <kenner@gcc.gnu.org>
Wed, 23 Sep 1992 23:22:40 +0000 (19:22 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Wed, 23 Sep 1992 23:22:40 +0000 (19:22 -0400)
From-SVN: r2214

gcc/reorg.c

index c89ce73..1b0fdfb 100644 (file)
@@ -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))