aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2016-03-16 10:58:12 -0600
committerJeff Law <law@gcc.gnu.org>2016-03-16 10:58:12 -0600
commit4a276c32c1e07e1ff636291dda742bfab675e795 (patch)
tree24a485199e6ea073bb3a83b733dc41ec7f3af6d5 /gcc
parentaa43616c59fceefa8ad06bfd60e88f17ad31f063 (diff)
downloadgcc-4a276c32c1e07e1ff636291dda742bfab675e795.zip
gcc-4a276c32c1e07e1ff636291dda742bfab675e795.tar.gz
gcc-4a276c32c1e07e1ff636291dda742bfab675e795.tar.bz2
re PR rtl-optimization/70224 (ICE: RTL flag check: CROSSING_JUMP_P used with unexpected rtx code 'insn' in relax_delay_slots, at reorg.c:3310)
PR rtl-optimization/70024 * reorg.c (relax_delay_slots): Pass right argument to CROSSING_JUMP_P. From-SVN: r234262
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/reorg.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b673443..ef16b27 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/reorg.c b/gcc/reorg.c
index a02141f..7b28821 100644
--- a/gcc/reorg.c
+++ b/gcc/reorg.c
@@ -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