Commit 6e17f9c1 by Zdenek Dvorak Committed by Zdenek Dvorak

re PR rtl-optimization/19103 (Current CVS (2004/12/21) doesn't compile with profiledbootstrap)

	PR rtl-optimization/19103
	* loop-iv.c (iv_number_of_iterations): Fix typo.

From-SVN: r92669
parent 8127356e
2004-12-28 Zdenek Dvorak <dvorakz@suse.cz>
PR rtl-optimization/19103
* loop-iv.c (iv_number_of_iterations): Fix typo.
2004-12-28 Andreas Jaeger <aj@suse.de> 2004-12-28 Andreas Jaeger <aj@suse.de>
* genrecog.c (compute_predicate_codes): Avoid warning. * genrecog.c (compute_predicate_codes): Avoid warning.
......
...@@ -2132,7 +2132,7 @@ iv_number_of_iterations (struct loop *loop, rtx insn, rtx condition, ...@@ -2132,7 +2132,7 @@ iv_number_of_iterations (struct loop *loop, rtx insn, rtx condition,
if (iv0.step == const0_rtx) if (iv0.step == const0_rtx)
step_val = -INTVAL (iv1.step); step_val = -INTVAL (iv1.step);
else else
step_val = INTVAL (iv1.step); step_val = INTVAL (iv0.step);
/* Ignore loops of while (i-- < 10) type. */ /* Ignore loops of while (i-- < 10) type. */
if (step_val < 0) if (step_val < 0)
......
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