* loop.c (move_movables): Start of libcall might be new loop start.
authorJ"orn Rennecke <amylaar@cygnus.co.uk>
Fri, 20 Nov 1998 18:19:50 +0000 (18:19 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Fri, 20 Nov 1998 18:19:50 +0000 (18:19 +0000)
From-SVN: r23738

gcc/ChangeLog
gcc/loop.c

index a7ed960..837d4ef 100644 (file)
@@ -1,3 +1,7 @@
+Sat Nov 21 02:18:38 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * loop.c (move_movables): Start of libcall might be new loop start.
+
 Fri Nov 20 12:14:16 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * hash.c (hash_table_init_n): Wrap prototype arguments in PARAMS().
index befecf1..bce59ad 100644 (file)
@@ -2014,6 +2014,8 @@ move_movables (movables, threshold, insn_count, loop_start, end, nregs)
                              REG_NOTES (i1) = REG_NOTES (temp);
                              delete_insn (temp);
                            }
+                         if (new_start == 0)
+                           new_start = first;
                        }
                      if (m->savemode != VOIDmode)
                        {