summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2002-10-02 02:48:10 +0000
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2002-10-02 02:48:10 +0000
commit603590db185f65b30e2b0be34b3704c32bd75a6f (patch)
tree7b0d4695d418b2a450029eb84a0bcb70d48d2749 /gcc
parent76834cdac2a8c4593597c6c5f200b2f3c8d5ec74 (diff)
downloadgcc-603590db185f65b30e2b0be34b3704c32bd75a6f.tar.gz
* unroll.c (loop_iterations): Revert 2002-09-08 change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57720 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/unroll.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b50421956ed..788eba6508d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/unroll.c b/gcc/unroll.c
index a1b02873043..97e646eb25c 100644
--- a/gcc/unroll.c
+++ b/gcc/unroll.c
@@ -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