Commit 315bdf71 by Nick Clifton Committed by Nick Clifton

stormy16.c (xstormy16_expand_prologue): Add support for reporting stack usage.

	* config/stormy16/stormy16.c (xstormy16_expand_prologue): Add
	support for reporting stack usage.

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

From-SVN: r190009
parent 3393a711
......@@ -30,6 +30,9 @@
2012-07-31 Nick Clifton <nickc@redhat.com>
* config/stormy16/stormy16.c (xstormy16_expand_prologue): Add
support for reporting stack usage.
* config/frv/frv.c (QUAD): Fix typo.
(frv_expand_prologue): Report stack usage.
......
......@@ -1035,6 +1035,9 @@ xstormy16_expand_prologue (void)
if (layout.locals_size >= 32768)
error ("local variable memory requirements exceed capacity");
if (flag_stack_usage_info)
current_function_static_stack_size = layout.frame_size;
/* Save the argument registers if necessary. */
if (layout.stdarg_save_size)
for (regno = FIRST_ARGUMENT_REGISTER;
......
......@@ -5,7 +5,8 @@
2012-07-31 Nick Clifton <nickc@redhat.com>
* gcc.dg/stack-usage-1.c (SIZE): Define for FRV.
* gcc.dg/stack-usage-1.c (SIZE): Define for FRV,
and for XStormy16.
2012-07-31 Tobias Burnus <burnus@net-b.de>
......
......@@ -64,6 +64,8 @@
# define SIZE 252
#elif defined (__frv__)
# define SIZE 248
#elif defined (xstormy16)
# define SIZE 254
#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