From bdd9dab692133fb110ee44a755a7653b7d478a24 Mon Sep 17 00:00:00 2001 From: Senthil Kumar Selvaraj Date: Sat, 21 May 2016 10:54:09 +0000 Subject: [PATCH] avr.c (avr_expand_prologue): Add INCOMING_FRAME_SP_OFFSET to computed stack_usage. * config/avr/avr.c (avr_expand_prologue): Add INCOMING_FRAME_SP_OFFSET to computed stack_usage. From-SVN: r236559 --- gcc/ChangeLog | 5 +++++ gcc/config/avr/avr.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8652f5c2911..7a9541406b9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-05-21 Senthil Kumar Selvaraj + + * config/avr/avr.c (avr_expand_prologue): Add INCOMING_FRAME_SP_OFFSET + to computed stack_usage. + 2016-05-21 Pitchumani Sivanupandi PR target/71103 diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c index 8de39e0a660..ba5cd914e55 100644 --- a/gcc/config/avr/avr.c +++ b/gcc/config/avr/avr.c @@ -1484,7 +1484,7 @@ avr_expand_prologue (void) avr_prologue_setup_frame (size, set); if (flag_stack_usage_info) - current_function_static_stack_size = cfun->machine->stack_usage; + current_function_static_stack_size = cfun->machine->stack_usage + INCOMING_FRAME_SP_OFFSET; } -- 2.30.2