aboutsummaryrefslogtreecommitdiff
path: root/gcc/resource.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/resource.c')
-rw-r--r--gcc/resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/resource.c b/gcc/resource.c
index e5fa91f..c47e1ab 100644
--- a/gcc/resource.c
+++ b/gcc/resource.c
@@ -1166,7 +1166,7 @@ init_resource_info (rtx epilogue_insn)
if (!(frame_pointer_needed
&& EXIT_IGNORE_STACK
&& epilogue_insn
- && !current_function_sp_is_unchanging))
+ && !crtl->sp_is_unchanging))
SET_HARD_REG_BIT (end_of_function_needs.regs, STACK_POINTER_REGNUM);
if (crtl->return_rtx != 0)