* 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
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.
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;
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>
# define SIZE 252
#elif defined (__frv__)
# define SIZE 248
+#elif defined (xstormy16)
+# define SIZE 254
#else
# define SIZE 256
#endif