diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-01-19 15:30:22 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-01-19 15:30:22 +0000 |
commit | 4aadd22acd34bb156219867fc52212379f541a0c (patch) | |
tree | d8aecff7bd56f3fae75bfdda252b6935aa273eb2 /gcc/bb-reorder.c | |
parent | cc197f6558436eecc18a31729f8d2d19ba7fd053 (diff) | |
download | gcc-4aadd22acd34bb156219867fc52212379f541a0c.tar.gz |
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).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206773 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/bb-reorder.c')
-rw-r--r-- | gcc/bb-reorder.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c index 9f03f5b9c3e..3364d93fea2 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...). */ |