From: Jeff Law Date: Wed, 25 Aug 1999 08:01:01 +0000 (-0600) Subject: Fix minor oops in last change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=80b8e8de6beac60f9d2ecb5b86eb40bb58bee4d7;p=gcc.git Fix minor oops in last change. From-SVN: r28848 --- diff --git a/gcc/loop.c b/gcc/loop.c index 931c08318ef..f2280b68944 100644 --- a/gcc/loop.c +++ b/gcc/loop.c @@ -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. */