Commit 7027164c by Nick Clifton Committed by Nick Clifton

frv.c (frv_expand_prologue): Report stack usage.

	* config/frv/frv.c (frv_expand_prologue): Report stack usage.

	* gcc.dg/stack-usage-1.c (SIZE): Define for FRV.

From-SVN: r190004
parent f8552cd4
2012-07-31 Nick Clifton <nickc@redhat.com>
* config/frv/frv.c (QUAD): Fix typo.
(frv_expand_prologue): Report stack usage.
2012-07-31 Steven Bosscher <steven@gcc.gnu.org>
......
......@@ -1761,6 +1761,9 @@ frv_expand_prologue (void)
if (TARGET_DEBUG_STACK)
frv_debug_stack (info);
if (flag_stack_usage_info)
current_function_static_stack_size = info->total_size;
if (info->total_size == 0)
return;
......
2012-07-31 Nick Clifton <nickc@redhat.com>
* gcc.dg/stack-usage-1.c (SIZE): Define for FRV.
2012-07-31 Tobias Burnus <burnus@net-b.de>
* gfortran.dg/c_funloc_tests_6.f90: New.
......
......@@ -62,6 +62,8 @@
# define SIZE 254
#elif defined (__sh__)
# define SIZE 252
#elif defined (__frv__)
# define SIZE 248
#else
# define SIZE 256
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment