From: Anthony Green Date: Sat, 19 Jan 2013 13:48:16 +0000 (+0000) Subject: Set current_function_static_stack_size for moxie. X-Git-Tag: releases/gcc-4.8.0~856 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=650ae806f0dd12f61ce47c59ccef8ed47333c231;p=thirdparty%2Fgcc.git Set current_function_static_stack_size for moxie. From-SVN: r195311 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2d7a0421dde6..2c01942622fa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2013-01-19 Anthony Green + + * config/moxie/moxie.c (moxie_expand_prologue): Set + current_function_static_stack_size. + 2013-01-18 Jakub Jelinek PR tree-optimization/56029 diff --git a/gcc/config/moxie/moxie.c b/gcc/config/moxie/moxie.c index 04e76bdcab19..d4f7d6d9d680 100644 --- a/gcc/config/moxie/moxie.c +++ b/gcc/config/moxie/moxie.c @@ -281,6 +281,9 @@ moxie_expand_prologue (void) 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++) {