xtensa: report stack usage
authorMax Filippov <jcmvbkbc@gmail.com>
Fri, 26 Aug 2016 17:23:37 +0000 (17:23 +0000)
committerMax Filippov <jcmvbkbc@gcc.gnu.org>
Fri, 26 Aug 2016 17:23:37 +0000 (17:23 +0000)
commit7695d1e3e2b79d3a1cb27d88665f66dcd1524322
treee97d5e147fd9d75060cd0e4ae0d1c5cb0028999c
parentd0b0fbd9fce2f30a82558bf2308b3a7b56c2f364
xtensa: report stack usage

This enables options -fstack-usage and -Wstack-usage.

2016-08-26  Max Filippov  <jcmvbkbc@gmail.com>
gcc/
* config/xtensa/xtensa.c (xtensa_expand_prologue): Update
current_function_static_stack_size variable with the static
stack frame size of the current function when
flag_stack_usage_info is enabled.

From-SVN: r239785
gcc/ChangeLog
gcc/config/xtensa/xtensa.c