* unroll.c (loop_iterations): Revert 2002-09-08 change.

From-SVN: r57720
This commit is contained in:
Roger Sayle 2002-10-02 02:48:10 +00:00 committed by Roger Sayle
parent 69bd00e681
commit f10aac290a
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-10-01 Roger Sayle <roger@eyesopen.com>
* unroll.c (loop_iterations): Revert 2002-09-08 change.
2002-10-01 Richard Henderson <rth@redhat.com>
* real.c (real_to_decimal): Crop trailing zeros for DIGITS < 0.

View File

@ -3309,7 +3309,7 @@ loop_iterations (loop)
accidentally get the branch for a contained loop if the branch for this
loop was deleted. We can only trust branches immediately before the
loop_end. */
last_loop_insn = prev_nonnote_insn (loop->end);
last_loop_insn = PREV_INSN (loop->end);
/* ??? We should probably try harder to find the jump insn
at the end of the loop. The following code assumes that