ChangeLog:
* config/spu/spu.c (spu_expand_prologue): Support -fstack-usage.
testsuite/ChangeLog:
* gcc.dg/stack-usage-1.c (SIZE): Provide proper value for __SPU__.
From-SVN: r168509
+2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+
+ * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage.
+
2011-01-05 Eric Botcazou <ebotcazou@adacore.com>
PR tree-optimization/47005
}
}
+ if (flag_stack_usage)
+ current_function_static_stack_size = total_size;
}
void
+2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+
+ * gcc.dg/stack-usage-1.c (SIZE): Provide proper value for __SPU__.
+
2011-01-05 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/opt14.adb: New test.
# define SIZE 96 /* 256 - 160 bytes for register save area */
#elif defined (__s390__)
# define SIZE 160 /* 256 - 96 bytes for register save area */
+#elif defined (__SPU__)
+# define SIZE 224
#else
# define SIZE 256
#endif