diff options
Diffstat (limited to 'gcc/config/avr/avr.c')
-rw-r--r-- | gcc/config/avr/avr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c index c440729b422..7248fd6a27c 100644 --- a/gcc/config/avr/avr.c +++ b/gcc/config/avr/avr.c @@ -2735,7 +2735,7 @@ out_movhi_mr_r (rtx insn, rtx op[], int *l) int frame_pointer_required_p (void) { - return (current_function_calls_alloca + return (cfun->calls_alloca || crtl->args.info.nregs == 0 || get_frame_size () > 0); } |