diff options
author | Eric Botcazou <ebotcazou@libertysurf.fr> | 2005-10-21 23:44:42 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2005-10-21 21:44:42 +0000 |
commit | 0e714a54f3ade6c8d21bc2187a92c40026e904e4 (patch) | |
tree | b7d03e7537df83abaa21df14ad0706c5f727b54b /gcc/bb-reorder.c | |
parent | 7b39f38befce7ddbee1762427c29c00f3136b81f (diff) | |
download | gcc-0e714a54f3ade6c8d21bc2187a92c40026e904e4.tar.gz |
re PR rtl-optimization/24460 (Profiled bootstrap broken)
PR rtl-optimization/24460
* bb-reorder.c (fix_crossing_unconditional_branches): Do not
set the basic block for barriers.
From-SVN: r105774
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; } |