Comments
Patch
@@ -1,6 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-fstack-usage" } */
-/* { dg-options "-fstack-usage -fomit-frame-pointer" { target { sh*-*-* } } } */
/* This is aimed at testing basic support for -fstack-usage in the back-ends.
See the SPARC back-end for example (grep flag_stack_usage_info in sparc.c).
@@ -61,6 +60,8 @@
# define SIZE (256 - __EPIPHANY_STACK_OFFSET__)
#elif defined (__RL78__)
# define SIZE 254
+#elif defined (__sh__)
+# define SIZE 252
#else
# define SIZE 256
#endif