(get_condition): Use rtx_equal_p to compare rtx.
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 24 Sep 1996 12:22:03 +0000 (08:22 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 24 Sep 1996 12:22:03 +0000 (08:22 -0400)
From-SVN: r12833

gcc/loop.c

index 09ad338f14e78d34237ee49027662a742e81d546..6646e9b4eb6e0171f46c8effa5af9b3c01184f87 100644 (file)
@@ -6736,7 +6736,7 @@ get_condition (jump, earliest)
 
       /* If this is setting OP0, get what it sets it to if it looks
         relevant.  */
-      if (SET_DEST (set) == op0)
+      if (rtx_equal_p (SET_DEST (set), op0))
        {
          enum machine_mode inner_mode = GET_MODE (SET_SRC (set));