aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop.c
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1999-08-25 02:01:01 -0600
committerJeff Law <law@gcc.gnu.org>1999-08-25 02:01:01 -0600
commit80b8e8de6beac60f9d2ecb5b86eb40bb58bee4d7 (patch)
treecb1a2b031fd2de34199716ecf7c63dfc426ad32b /gcc/loop.c
parentc4f4cf33b5f08e061bb0a479f18f2b86136b8c3a (diff)
downloadgcc-80b8e8de6beac60f9d2ecb5b86eb40bb58bee4d7.zip
gcc-80b8e8de6beac60f9d2ecb5b86eb40bb58bee4d7.tar.gz
gcc-80b8e8de6beac60f9d2ecb5b86eb40bb58bee4d7.tar.bz2
Fix minor oops in last change.
From-SVN: r28848
Diffstat (limited to 'gcc/loop.c')
-rw-r--r--gcc/loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/loop.c b/gcc/loop.c
index 931c083..f2280b6 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. */