Commit aa5cc52b by Kaz Kojima

stack-usage-1.c: Remove dg-options line for sh targets and add __sh__ case.

	* gcc.dg/stack-usage-1.c: Remove dg-options line for sh targets
	and add __sh__ case.

From-SVN: r188815
parent 0a337ebd
2012-06-19 Kaz Kojima <kkojima@gcc.gnu.org>
* gcc.dg/stack-usage-1.c: Remove dg-options line for sh targets
and add __sh__ case.
2012-06-19 Jason Merrill <jason@redhat.com>
PR c++/52637
......
/* { 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment