* loop.c (combine_givs_used_by_other): Don't depend on n_times_set.
authorJ"orn Rennecke <amylaar@cygnus.co.uk>
Thu, 17 Dec 1998 00:29:00 +0000 (00:29 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Thu, 17 Dec 1998 00:29:00 +0000 (00:29 +0000)
From-SVN: r24351

gcc/ChangeLog
gcc/loop.c

index d0ca9ce..6447f44 100644 (file)
@@ -1,3 +1,7 @@
+Thu Dec 17 08:27:03 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * loop.c (combine_givs_used_by_other): Don't depend on n_times_set.
+
 Wed Dec 16 17:30:35 1998  Nick Clifton  <nickc@cygnus.com>
 
        * toplev.c (main): Disable optimize_size if a specific
index 83d5cf6..dcae8d0 100644 (file)
@@ -6305,15 +6305,11 @@ static int
 combine_givs_used_by_other (g1, g2)
      struct induction *g1, *g2;
 {
-  /* Lines marked with ??? test a condition that wasn't meant to be tested
-     and should be deleted.  */
   if (g1->giv_type == DEST_REG
-      && VARRAY_INT (n_times_set, REGNO (g1->dest_reg)) == 1 /* ??? */
       && reg_mentioned_p (g1->dest_reg, PATTERN (g2->insn)))
     return -1;
 
   if (g2->giv_type == DEST_REG
-      && VARRAY_INT (n_times_set, REGNO (g2->dest_reg)) == 1 /* ??? */
       && reg_mentioned_p (g2->dest_reg, PATTERN (g1->insn)))
     return 1;