]> gcc.gnu.org Git - gcc.git/commitdiff
microblaze.c (microblaze_expand_prologue): Add check for flag_stack_usage to handle...
authorDavid Holsgrove <david.holsgrove@xilinx.com>
Thu, 18 Jul 2013 23:57:12 +0000 (23:57 +0000)
committerMichael Eager <eager@gcc.gnu.org>
Thu, 18 Jul 2013 23:57:12 +0000 (23:57 +0000)
 * gcc/config/microblaze/microblaze.c (microblaze_expand_prologue):
    Add check for flag_stack_usage to handle -fstack-usage support

From-SVN: r201042

gcc/ChangeLog
gcc/config/microblaze/microblaze.c

index 99788662229546e56f3caf74221c3ceeda3bc271..981d4895cd545a8dd2bedcf20473581c2043187e 100644 (file)
@@ -1,3 +1,8 @@
+2013-07-18  David Holsgrove <david.holsgrove@xilinx.com>
+
+       * config/microblaze/microblaze.c (microblaze_expand_prologue):
+       Add check for flag_stack_usage to handle -fstack-usage support
+
 2013-07-18  Pat Haugen <pthaugen@us.ibm.com>
 
        * config/rs6000/rs6000.c (rs6000_option_override_internal): Adjust flag
index c121c2baec32e7c977aabf90410275b37237ba60..46d07c7e318119797b9afddda66ab3b8ce14acc1 100644 (file)
@@ -2768,6 +2768,9 @@ microblaze_expand_prologue (void)
 
   fsiz = compute_frame_size (get_frame_size ());
 
+  if (flag_stack_usage)
+    current_function_static_stack_size = fsiz;
+
   /* If this function is a varargs function, store any registers that
      would normally hold arguments ($5 - $10) on the stack.  */
   if (((TYPE_ARG_TYPES (fntype) != 0
This page took 0.09045 seconds and 5 git commands to generate.