diff options
Diffstat (limited to 'gcc/bb-reorder.c')
-rw-r--r-- | gcc/bb-reorder.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/bb-reorder.c b/gcc/bb-reorder.c index 8bf37afe189..a142fe204e0 100644 --- a/gcc/bb-reorder.c +++ b/gcc/bb-reorder.c @@ -1739,7 +1739,8 @@ fix_crossing_unconditional_branches (void) for (cur_insn = indirect_jump_sequence; cur_insn; cur_insn = NEXT_INSN (cur_insn)) { - BLOCK_FOR_INSN (cur_insn) = cur_bb; + if (!BARRIER_P (cur_insn)) + BLOCK_FOR_INSN (cur_insn) = cur_bb; if (JUMP_P (cur_insn)) jump_insn = cur_insn; } |