On 06/23/2015 06:56 AM, Nick Clifton wrote:
Hi Guys,
The patch below adds support for the -fstack-usage option to the BFIN,
FT32, H8300, IQ2000 and M32C ports. It also adjusts the expected
output in the gcc.dg/stack-usage-1.c test for the V850 and MN10300 to
match the actual results generated by these toolchains.
Tested with no regressions on bfin-elf, ft32-elf, h8300-elf,
iq2000-elf, m32c-elf, mn10300-elf and v850-elf toolchains.
OK to apply ?
Cheers
Nick
gcc/ChangeLog
2015-06-23 Nick Clifton <ni...@redhat.com>
* config/bfin/bfin.c (bfin_expand_prologue): Set
current_function_static_stack_size if flag_stack_usage_info is
set.
* config/ft32/ft32.c (ft32_expand_prologue): Likewise.
* config/h8300/h8300.c (h8300_expand_prologue): Likewise.
* config/iq2000/iq2000.c (iq2000_expand_prologue): Likewise.
* config/m32c/m32c.c (m32c_emit_prologue): Likewise.
gcc/testsuite/ChangeLog
2015-06-23 Nick Clifton <ni...@redhat.com>
* gcc.dg/stack-usage-1.c: Add SIZE values for V850, MN10300,
H8300 and M32R targets.
OK.
jeff