* unroll.c (loop_iterations): Revert 2002-09-08 change.
authorRoger Sayle <roger@eyesopen.com>
Wed, 2 Oct 2002 02:48:10 +0000 (02:48 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Wed, 2 Oct 2002 02:48:10 +0000 (02:48 +0000)
From-SVN: r57720

gcc/ChangeLog
gcc/unroll.c

index b50421956edd880c81ae157db05edb42426de6c6..788eba6508d5b29830392fbbbf8c6d9429c790e5 100644 (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.
index a1b0287304323bee9344d91df3f2d2af1d0b0841..97e646eb25c7db5187bc61a2149dfb52956a830c 100644 (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