aboutsummaryrefslogtreecommitdiff
path: root/gcc/stack-ptr-mod.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/stack-ptr-mod.c')
-rw-r--r--gcc/stack-ptr-mod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/stack-ptr-mod.c b/gcc/stack-ptr-mod.c
index e37fcc3..99e5f75 100644
--- a/gcc/stack-ptr-mod.c
+++ b/gcc/stack-ptr-mod.c
@@ -57,7 +57,7 @@ notice_stack_pointer_modification (void)
/* Assume that the stack pointer is unchanging if alloca hasn't
been used. */
- current_function_sp_is_unchanging = !current_function_calls_alloca;
+ current_function_sp_is_unchanging = !cfun->calls_alloca;
if (current_function_sp_is_unchanging)
FOR_EACH_BB (bb)
FOR_BB_INSNS (bb, insn)