Handle jump insns that are PARALLEL.
authorNick Clifton <nickc@redhat.com>
Wed, 27 Dec 2000 18:22:51 +0000 (18:22 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Wed, 27 Dec 2000 18:22:51 +0000 (18:22 +0000)
From-SVN: r38501

gcc/ChangeLog
gcc/ifcvt.c

index 712b36399fc1378bda9c86fffe69a85cd55e7c02..d6b885817df0f295c3c52e2b084d30958623dc71 100644 (file)
@@ -1,3 +1,8 @@
+2000-12-27  Nick Clifton  <nickc@redhat.com>
+
+       * ifcvt.c (noce_emit_store_flag): Handle jump insns that are
+       PARALLEL.
+
 2000-12-27  Alexandre Oliva  <aoliva@redhat.com>
 
        * rtl.c (copy_most_rtx, shallow_copy_rtx): Copy frame_related
index e4955a74477a783b95855a10504ba8c1c849037b..652814e4b39853e239dbd38f2b1b93013365fdc4 100644 (file)
@@ -487,7 +487,7 @@ noce_emit_store_flag (if_info, x, reversep, normalize)
      build the store_flag insn directly.  */
 
   if (cond_complex)
-    cond = XEXP (SET_SRC (PATTERN (if_info->jump)), 0);
+    cond = XEXP (SET_SRC (pc_set (if_info->jump)), 0);
 
   if ((if_info->cond_earliest == if_info->jump || cond_complex)
       && (normalize == 0 || STORE_FLAG_VALUE == normalize))