summaryrefslogtreecommitdiff
path: root/gcc/unroll.c
diff options
context:
space:
mode:
authorcpopetz <cpopetz@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-23 16:58:29 +0000
committercpopetz <cpopetz@138bc75d-0d04-0410-961f-82ee72b054a4>2001-07-23 16:58:29 +0000
commitbfc00ea17808945e20ced6e373f62b9be3df7dea (patch)
tree3759bdbb278b32b2ed9053b58ebd030b88b05a29 /gcc/unroll.c
parent67a1ad2c9f4506a524e88b6d10d8bcdbf8db9cbe (diff)
downloadgcc-bfc00ea17808945e20ced6e373f62b9be3df7dea.tar.gz
* unroll.c (loop_iterations): Fix miscalculation of initial
giv offset. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44272 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/unroll.c')
-rw-r--r--gcc/unroll.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/unroll.c b/gcc/unroll.c
index 9a09f5d3d3e..c26a29741e5 100644
--- a/gcc/unroll.c
+++ b/gcc/unroll.c
@@ -3662,7 +3662,6 @@ loop_iterations (loop)
if (loop_insn_first_p (v->insn, biv_inc->insn))
offset -= INTVAL (biv_inc->add_val);
}
- offset *= INTVAL (v->mult_val);
}
if (loop_dump_stream)
fprintf (loop_dump_stream,