diff options
author | green <green@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-01-19 13:48:16 +0000 |
---|---|---|
committer | green <green@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-01-19 13:48:16 +0000 |
commit | a307664970d72798ba0d3cae0cd3c6d3c865c8b2 (patch) | |
tree | 36b28f85ba26d8606388d7cf6823bee4ccb8c8cb /gcc/config/moxie/moxie.c | |
parent | 1c4973d7708d34b68e9ad7d46cd1623ce1609734 (diff) | |
download | gcc-a307664970d72798ba0d3cae0cd3c6d3c865c8b2.tar.gz |
Set current_function_static_stack_size for moxie.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195311 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/moxie/moxie.c')
-rw-r--r-- | gcc/config/moxie/moxie.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/moxie/moxie.c b/gcc/config/moxie/moxie.c index 04e76bdcab1..d4f7d6d9d68 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++) { |