Commit b5a77fef by Alan Modra Committed by Alan Modra

doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust by absolute…

doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust by absolute loop increment, not loop increment.

	* doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust
	by absolute loop increment, not loop increment.

From-SVN: r57556
parent 40f03658
2002-09-27 Alan Modra <amodra@bigpond.net.au>
* doloop.c (doloop_modify_runtime <biv skips initial incr>): Adjust
by absolute loop increment, not loop increment.
2002-09-26 Kazu Hirata <kazu@cs.umass.edu>
* c-common.h: Follow spelling conventions.
......
......@@ -668,8 +668,8 @@ doloop_modify_runtime (loop, iterations_max,
fprintf (loop_dump_stream,
"Doloop: Basic induction var skips initial incr.\n");
diff = expand_simple_binop (mode, PLUS, diff, increment, diff,
unsigned_p, OPTAB_LIB_WIDEN);
diff = expand_simple_binop (mode, PLUS, diff, GEN_INT (abs_inc),
diff, unsigned_p, OPTAB_LIB_WIDEN);
}
}
......
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