]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR rtl-optimization/57763 (comp-goto-1.c: ICE verify_flow_info failed, error:...
authorJakub Jelinek <jakub@redhat.com>
Sun, 19 Jan 2014 15:30:22 +0000 (16:30 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sun, 19 Jan 2014 15:30:22 +0000 (16:30 +0100)
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

gcc/ChangeLog
gcc/bb-reorder.c

index 89669bd4597c3a06f1b862aafe6497a052a25e57..0fd40b5da8dc315fd23147a5174c99dc5f7d9c27 100644 (file)
@@ -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
index 9f03f5b9c3ee69319983514c6b8cdc3ad983afab..3364d93fea2fcd82ecd4bbc847b2f3248bc928f2 100644 (file)
@@ -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...).  */