Commit 57de7530 by Clinton Popetz Committed by Clinton Popetz

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

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

From-SVN: r44272
parent cba6dfc8
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> 2001-07-13 Andrew Haley <aph@redhat.com>
* doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro. * doc/tm.texi (MD_CAN_REDIRECT_BRANCH): New macro.
......
...@@ -3662,7 +3662,6 @@ loop_iterations (loop) ...@@ -3662,7 +3662,6 @@ loop_iterations (loop)
if (loop_insn_first_p (v->insn, biv_inc->insn)) if (loop_insn_first_p (v->insn, biv_inc->insn))
offset -= INTVAL (biv_inc->add_val); offset -= INTVAL (biv_inc->add_val);
} }
offset *= INTVAL (v->mult_val);
} }
if (loop_dump_stream) if (loop_dump_stream)
fprintf (loop_dump_stream, fprintf (loop_dump_stream,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment