diff options
author | Nick Clifton <nickc@redhat.com> | 2012-04-11 12:49:22 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2012-04-11 12:49:22 +0000 |
commit | 84e60183679b852992c536ef73b11df600ab3cbb (patch) | |
tree | 6a9b5237b9d203195f18fb10b08e44bfc4564df6 /gcc/config/rx | |
parent | cf5025b6834d9b8130d83d769f6b2dd5e83bb60b (diff) | |
download | gcc-84e60183679b852992c536ef73b11df600ab3cbb.zip gcc-84e60183679b852992c536ef73b11df600ab3cbb.tar.gz gcc-84e60183679b852992c536ef73b11df600ab3cbb.tar.bz2 |
rx.c (rx_expand_prologue): Set stack use information, if requested.
* config/rx/rx.c (rx_expand_prologue): Set stack use
information, if requested.
From-SVN: r186314
Diffstat (limited to 'gcc/config/rx')
-rw-r--r-- | gcc/config/rx/rx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/rx/rx.c b/gcc/config/rx/rx.c index 655f318..e7483e9 100644 --- a/gcc/config/rx/rx.c +++ b/gcc/config/rx/rx.c @@ -1606,6 +1606,9 @@ rx_expand_prologue (void) rx_get_stack_layout (& low, & high, & mask, & frame_size, & stack_size); + if (flag_stack_usage_info) + current_function_static_stack_size = frame_size + stack_size; + /* If we use any of the callee-saved registers, save them now. */ if (mask) { |