Fix minor oops in last change.
authorJeff Law <law@gcc.gnu.org>
Wed, 25 Aug 1999 08:01:01 +0000 (02:01 -0600)
committerJeff Law <law@gcc.gnu.org>
Wed, 25 Aug 1999 08:01:01 +0000 (02:01 -0600)
From-SVN: r28848

gcc/loop.c

index 931c08318efb8237776ecb301b33ccd0da07fde5..f2280b68944f111d1f646922b9233b734e4d2868 100644 (file)
@@ -5145,7 +5145,7 @@ strength_reduce (scan_start, end, loop_top, insn_count,
       /* When we completely unroll a loop on a HAVE_cc0 machine we will not
         need the comparison before the conditional branch at the end of the
         loop.  */
-      unrolled_insn_copies = insn_count - 2;
+      unrolled_insn_copies -= 1;
 #endif
 
       /* We'll need one copy for each loop iteration.  */