diff options
Diffstat (limited to 'gcc/stack-ptr-mod.c')
-rw-r--r-- | gcc/stack-ptr-mod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/stack-ptr-mod.c b/gcc/stack-ptr-mod.c index 68ccd1619ed..acca80127e1 100644 --- a/gcc/stack-ptr-mod.c +++ b/gcc/stack-ptr-mod.c @@ -58,7 +58,7 @@ notice_stack_pointer_modification (void) been used. */ crtl->sp_is_unchanging = !cfun->calls_alloca; if (crtl->sp_is_unchanging) - FOR_EACH_BB (bb) + FOR_EACH_BB_FN (bb, cfun) FOR_BB_INSNS (bb, insn) { if (INSN_P (insn)) |