unroll.c (loop_iterations): Fix miscalculation of initial giv offset.

* unroll.c (loop_iterations): Fix miscalculation of initial
	giv offset.

From-SVN: r44272
This commit is contained in:
Clinton Popetz 2001-07-23 12:58:29 -04:00 committed by Clinton Popetz
parent cba6dfc843
commit 57de7530c4
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Mon Jul 23 11:54:23 2001 Clinton Popetz <cpopetz@cpopetz.com>
* unroll.c (loop_iterations): Fix miscalculation of initial
giv offset.
2001-07-13 Andrew Haley <aph@redhat.com>
* doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.

View File

@ -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,