From patchwork Sat Jan 19 13:42:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [moxie] Set current_function_static_stack_size Date: Sat, 19 Jan 2013 03:42:30 -0000 From: Anthony Green X-Patchwork-Id: 213861 Message-Id: To: gcc-patches@gcc.gnu.org I'm committing this simple change. It fixes a number of test cases... 2013-01-19 Anthony Green * config/moxie/moxie.c (moxie_expand_prologue): Set current_function_static_stack_size. { Index: gcc/config/moxie/moxie.c =================================================================== --- gcc/config/moxie/moxie.c (revision 195310) +++ gcc/config/moxie/moxie.c (working copy) @@ -281,6 +281,9 @@ moxie_compute_frame (); + if (flag_stack_usage_info) + current_function_static_stack_size = cfun->machine->size_for_adjusting_sp; + /* Save callee-saved registers. */ for (regno = 0; regno < FIRST_PSEUDO_REGISTER; regno++)