* config/mn10300/mn10300.c (mn10300_expand_prologue): Report
	stack usage if requested.
From-SVN: r190198
+2012-08-07  Nick Clifton  <nickc@redhat.com>
+
+       * config/mn10300/mn10300.c (mn10300_expand_prologue): Report
+       stack usage if requested.
+
 2012-08-06  Cary Coutant  <ccoutant@google.com>
 
        * cgraphunit.c (assemble_thunk): Add source line info.
 
 {
   HOST_WIDE_INT size = mn10300_frame_size ();
 
+  if (flag_stack_usage_info)
+    current_function_static_stack_size = size;
+
   /* If we use any of the callee-saved registers, save them now.  */
   mn10300_gen_multiple_store (mn10300_get_live_callee_saved_regs (NULL));