]> gcc.gnu.org Git - gcc.git/commitdiff
loop.c (check_insn_for_givs): Restore check for code labels that was accidentally...
authorJeff Law <law@redhat.com>
Thu, 15 Jul 2004 14:55:15 +0000 (08:55 -0600)
committerJeff Law <law@gcc.gnu.org>
Thu, 15 Jul 2004 14:55:15 +0000 (08:55 -0600)
        * loop.c (check_insn_for_givs): Restore check for code labels that was
        accidentally deleted by a recent checkin.

From-SVN: r84753

gcc/ChangeLog
gcc/loop.c

index aa7748757be157b7ca54781637644a0532949451..d851a8286ebc5adcfb6ff775498d5f038f9896a2 100644 (file)
@@ -1,3 +1,8 @@
+2004-07-15  Jeff Law  <law@redhat.com>
+
+       * loop.c (check_insn_for_givs): Restore check for code labels that was
+       accidentally deleted by a recent checkin.
+
 2004-07-15  Nathan Sidwell  <nathan@codesourcery.com>
 
        * vec.h (VEC_T_truncate): Allow truncation of an empty vector.
index 97d15710c15aaf1e0d923dcbebd076f83baa85d2..a6353d795180fdc95be961f425b572717ad8677a 100644 (file)
@@ -5485,7 +5485,7 @@ check_insn_for_givs (struct loop *loop, rtx p, int not_every_iteration,
 
   /* Update the status of whether giv can derive other givs.  This can
      change when we pass a label or an insn that updates a biv.  */
-  if (INSN_P (p))
+  if (INSN_P (p) || LABEL_P (p))
     update_giv_derive (loop, p);
   return p;
 }
This page took 0.093621 seconds and 5 git commands to generate.