* loop.c (note_set_pseudo_multiple_uses): Correct.
authorMichael Hayes <mhayes@cygnus.com>
Tue, 12 Sep 2000 19:39:07 +0000 (19:39 +0000)
committerMichael Hayes <m.hayes@gcc.gnu.org>
Tue, 12 Sep 2000 19:39:07 +0000 (19:39 +0000)
From-SVN: r36375

gcc/ChangeLog
gcc/loop.c

index 19e9f543a5135dda17bb27473579af29ec930300..8e05590c2f30ab1fd7cd02bd8166805602365fa7 100644 (file)
@@ -1,3 +1,7 @@
+2000-09-13  Michael Hayes  <mhayes@cygnus.com>
+
+
+
 2000-09-12  Jim Wilson  <wilson@cygnus.com>
 
        * ifcvt.c (noce_process_if_block): If A and B are the same, and no
index 7d172e9147a0f511c7ea52d4331e6c0789a210d1..0ab16d621458bcdbfc06cf34fb1d4cdaa2353fdb 100644 (file)
@@ -3069,8 +3069,7 @@ note_addr_stored (x, y, data)
 /* X is a value modified by an INSN that references a biv inside a loop
    exit test (ie, X is somehow related to the value of the biv).  If X
    is a pseudo that is used more than once, then the biv is (effectively)
-   used more than once.  DATA is really an `int *', and is set if the
-   biv is used more than once.  */
+   used more than once.  DATA is a pointer to a loop_regs structure.  */
 
 static void
 note_set_pseudo_multiple_uses (x, y, data)
@@ -3097,7 +3096,7 @@ note_set_pseudo_multiple_uses (x, y, data)
   if (REGNO (x) >= max_reg_before_loop
       || ! VARRAY_RTX (regs->single_usage, REGNO (x))
       || VARRAY_RTX (regs->single_usage, REGNO (x)) == const0_rtx)
-    *((int *) data) = 1;
+    regs->multiple_uses = 1;
 }
 \f
 /* Return nonzero if the rtx X is invariant over the current loop.