diff options
author | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-05 13:25:36 +0000 |
---|---|---|
committer | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-05 13:25:36 +0000 |
commit | a512540d21117bc7c383c1c965596c7e77a0c549 (patch) | |
tree | 5471e3d7608abec67087df1543be5ba30b55ad50 /gcc/config/spu | |
parent | da1084b701f8df4c5cfa00050a305a7ad263412c (diff) | |
download | gcc-a512540d21117bc7c383c1c965596c7e77a0c549.tar.gz |
ChangeLog:
* config/spu/spu.c (spu_expand_prologue): Support -fstack-usage.
testsuite/ChangeLog:
* gcc.dg/stack-usage-1.c (SIZE): Provide proper value for __SPU__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168509 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/spu')
-rw-r--r-- | gcc/config/spu/spu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/spu/spu.c b/gcc/config/spu/spu.c index 915de556ca0..271116efcbb 100644 --- a/gcc/config/spu/spu.c +++ b/gcc/config/spu/spu.c @@ -2086,6 +2086,8 @@ spu_expand_prologue (void) } } + if (flag_stack_usage) + current_function_static_stack_size = total_size; } void |