ifcvt.c (cond_exec_get_condition): Set test_if to the SET_SRC of get_pc.
authorRichard Earnshaw <rearnsha@arm.com>
Fri, 26 May 2000 09:51:00 +0000 (09:51 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Fri, 26 May 2000 09:51:00 +0000 (09:51 +0000)
* ifcvt.c (cond_exec_get_condition): Set test_if to the SET_SRC
of get_pc.

From-SVN: r34192

gcc/ChangeLog
gcc/ifcvt.c

index 86f6662ca2b202223f7a4f8e2df912bcc055436b..b46061491fe493b56a4ed6b5bd93587c682591df 100644 (file)
@@ -1,3 +1,8 @@
+2000-05-26  Richard Earnshaw  <rearnsha@arm.com>
+
+       * ifcvt.c (cond_exec_get_condition): Set test_if to the SET_SRC
+       of get_pc.
+
 2000-05-25  Richard Henderson  <rth@cygnus.com>
 
        * config/alpha/alpha.c (alpha_comparison_operator): Don't be
index 9b20b3ae503cbd48b19edbf65dc9e91c795691e5..1bdfae3560492f504bb8879e38f100cb5bb81a34 100644 (file)
@@ -267,7 +267,7 @@ cond_exec_get_condition (jump)
   rtx test_if, cond;
 
   if (any_condjump_p (jump))
-    test_if = pc_set (jump);
+    test_if = SET_SRC (pc_set (jump));
   else
     return NULL_RTX;
   cond = XEXP (test_if, 0);