aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2014-01-19 16:30:22 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2014-01-19 16:30:22 +0100
commit8fce217edcffa809d8f67e436444a32ea93dba77 (patch)
treed8aecff7bd56f3fae75bfdda252b6935aa273eb2 /gcc
parent7d483daae98d61852b53dcce0ab550a513b0f3f2 (diff)
downloadgcc-8fce217edcffa809d8f67e436444a32ea93dba77.zip
gcc-8fce217edcffa809d8f67e436444a32ea93dba77.tar.gz
gcc-8fce217edcffa809d8f67e436444a32ea93dba77.tar.bz2
re PR rtl-optimization/57763 (comp-goto-1.c: ICE verify_flow_info failed, error: EDGE_CROSSING missing across section boundary)
PR rtl-optimization/57763 * bb-reorder.c (fix_crossing_unconditional_branches): Set JUMP_LABEL on the new indirect jump_insn and increment LABEL_NUSES (label). From-SVN: r206773
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/bb-reorder.c3
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 89669bd..0fd40b5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2014-01-19 Jakub Jelinek <jakub@redhat.com>
+
+ PR rtl-optimization/57763
+ * bb-reorder.c (fix_crossing_unconditional_branches): Set JUMP_LABEL
+ on the new indirect jump_insn and increment LABEL_NUSES (label).
+
2014-01-18 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/59580
diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c
index 9f03f5b..3364d93 100644
--- a/gcc/bb-reorder.c
+++ b/gcc/bb-reorder.c
@@ -2183,6 +2183,9 @@ fix_crossing_unconditional_branches (void)
emit_insn_before (indirect_jump_sequence, last_insn);
delete_insn (last_insn);
+ JUMP_LABEL (jump_insn) = label;
+ LABEL_NUSES (label)++;
+
/* Make BB_END for cur_bb be the jump instruction (NOT the
barrier instruction at the end of the sequence...). */