2010-11-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* gcc/config/s390/s390.c (s390_emit_prologue): Report the stack
size if -fstack-usage is used.
2010-11-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* gcc.dg/stack-usage-1.c: Define SIZE for s390 and s390x.
From-SVN: r166531
+2010-11-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
+
+ * gcc/config/s390/s390.c (s390_emit_prologue): Report the stack
+ size if -fstack-usage is used.
+
2010-11-10 Richard Guenther <rguenther@suse.de>
PR tree-optimization/46398
if (!TARGET_PACKED_STACK)
next_fpr = cfun_save_high_fprs_p ? 31 : 0;
+ if (flag_stack_usage)
+ current_function_static_stack_size = cfun_frame_layout.frame_size;
+
/* Decrement stack pointer. */
if (cfun_frame_layout.frame_size > 0)
+2010-11-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
+
+ * gcc.dg/stack-usage-1.c: Define SIZE for s390 and s390x.
+
2010-11-10 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/unchecked_convert7.adb: New test.
# define SIZE 240
#elif defined (__AVR__)
# define SIZE 254
+#elif defined (__s390x__)
+# define SIZE 96 /* 256 - 160 bytes for register save area */
+#elif defined (__s390__)
+# define SIZE 160 /* 256 - 96 bytes for register save area */
#else
# define SIZE 256
#endif