re PR rtl-optimization/70224 (ICE: RTL flag check: CROSSING_JUMP_P used with unexpect...
authorJeff Law <law@redhat.com>
Wed, 16 Mar 2016 16:58:12 +0000 (10:58 -0600)
committerJeff Law <law@gcc.gnu.org>
Wed, 16 Mar 2016 16:58:12 +0000 (10:58 -0600)
PR rtl-optimization/70024
* reorg.c (relax_delay_slots): Pass right argument to CROSSING_JUMP_P.

From-SVN: r234262

gcc/ChangeLog
gcc/reorg.c

index b673443c1038993116bc81d393e6ee0b3de3fa87..ef16b271fd783a562977691ebe90bf4a87328bce 100644 (file)
@@ -1,3 +1,8 @@
+2016-03-11  Jeff Law  <law@redhat.com>
+
+       PR rtl-optimization/70024
+       * reorg.c (relax_delay_slots): Pass right argument to CROSSING_JUMP_P.
+
 2016-03-16  Richard Henderson  <rth@redhat.com>
 
        PR middle-end/70199
index a02141f47e75dd2b3178d8f3bdcb9f324bfca502..7b28821c99f1cbffff45fc6ec4f0ba6e6c147848 100644 (file)
@@ -3307,7 +3307,7 @@ relax_delay_slots (rtx_insn *first)
          reorg_redirect_jump (delay_jump_insn, trial);
          target_label = trial;
          if (crossing)
-           CROSSING_JUMP_P (insn) = 1;
+           CROSSING_JUMP_P (delay_jump_insn) = 1;
        }
 
       /* If the first insn at TARGET_LABEL is redundant with a previous