summaryrefslogtreecommitdiff
path: root/gcc/mode-switching.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/mode-switching.c')
-rw-r--r--gcc/mode-switching.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/mode-switching.c b/gcc/mode-switching.c
index 88dca023df9..d4c7b24b981 100644
--- a/gcc/mode-switching.c
+++ b/gcc/mode-switching.c
@@ -518,9 +518,7 @@ optimize_mode_switching (void)
}
}
- for (insn = BB_HEAD (bb);
- insn != NULL && insn != NEXT_INSN (BB_END (bb));
- insn = NEXT_INSN (insn))
+ FOR_BB_INSNS (bb, insn)
{
if (INSN_P (insn))
{