From: Senthil Kumar Selvaraj Date: Sat, 21 May 2016 10:54:09 +0000 (+0000) Subject: avr.c (avr_expand_prologue): Add INCOMING_FRAME_SP_OFFSET to computed stack_usage. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bdd9dab692133fb110ee44a755a7653b7d478a24;p=gcc.git 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 --- 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; }