aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/moxie
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2013-01-19 13:48:16 +0000
committerAnthony Green <green@gcc.gnu.org>2013-01-19 13:48:16 +0000
commit650ae806f0dd12f61ce47c59ccef8ed47333c231 (patch)
tree36b28f85ba26d8606388d7cf6823bee4ccb8c8cb /gcc/config/moxie
parent5af057d8bd6b7a7972f3f6d53673920dd8be3cfd (diff)
downloadgcc-650ae806f0dd12f61ce47c59ccef8ed47333c231.zip
gcc-650ae806f0dd12f61ce47c59ccef8ed47333c231.tar.gz
gcc-650ae806f0dd12f61ce47c59ccef8ed47333c231.tar.bz2
Set current_function_static_stack_size for moxie.
From-SVN: r195311
Diffstat (limited to 'gcc/config/moxie')
-rw-r--r--gcc/config/moxie/moxie.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/moxie/moxie.c b/gcc/config/moxie/moxie.c
index 04e76bd..d4f7d6d 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++)
{