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
This commit is contained in:
parent
0a337ebd0a
commit
aa5cc52b1a
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue