diff options
Diffstat (limited to 'gcc/cfgrtl.c')
-rw-r--r-- | gcc/cfgrtl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index 66f0b14f2c4..5d64f3af019 100644 --- a/gcc/cfgrtl.c +++ b/gcc/cfgrtl.c @@ -1062,8 +1062,7 @@ redirect_branch_edge (edge e, basic_block target) /* When expanding this BB might actually contain multiple jumps (i.e. not yet split by find_many_sub_basic_blocks). Redirect all of those that match our label. */ - for (insn = BB_HEAD (src); insn != NEXT_INSN (BB_END (src)); - insn = NEXT_INSN (insn)) + FOR_BB_INSNS (src, insn) if (JUMP_P (insn) && !patch_jump_insn (insn, old_label, target)) return NULL; |