summaryrefslogtreecommitdiff
path: root/gcc/config/epiphany/resolve-sw-modes.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/epiphany/resolve-sw-modes.c')
-rw-r--r--gcc/config/epiphany/resolve-sw-modes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/epiphany/resolve-sw-modes.c b/gcc/config/epiphany/resolve-sw-modes.c
index a780254410d..30f6920aba0 100644
--- a/gcc/config/epiphany/resolve-sw-modes.c
+++ b/gcc/config/epiphany/resolve-sw-modes.c
@@ -69,7 +69,7 @@ resolve_sw_modes (void)
df_note_add_problem ();
df_analyze ();
}
- FOR_EACH_BB (bb)
+ FOR_EACH_BB_FN (bb, cfun)
FOR_BB_INSNS (bb, insn)
{
enum attr_fp_mode selected_mode;