stack-usage-1.c (SIZE): Provide proper values for __ppc64__ and __APPLE__ && __PPC__ && __ALTIVEC__.

2011-03-29  Peter Bergner <bergner@vnet.ibm.com>
	    Dominique d'Humieres  <dominiq@lps.ens.fr>	

	* gcc.dg/stack-usage-1.c (SIZE): Provide proper values for __ppc64__
	and __APPLE__ && __PPC__ && __ALTIVEC__.

Co-Authored-By: Dominique d'Humieres <dominiq@lps.ens.fr>

From-SVN: r171692
This commit is contained in:
Peter Bergner 2011-03-29 15:16:49 -05:00 committed by Mike Stump
parent df740f400a
commit 5d9cd5d0a7
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2011-03-29 Peter Bergner <bergner@vnet.ibm.com>
Dominique d'Humieres <dominiq@lps.ens.fr>
* gcc.dg/stack-usage-1.c (SIZE): Provide proper values for __ppc64__
and __APPLE__ && __PPC__ && __ALTIVEC__.
2011-03-29 Jason Merrill <jason@redhat.com>
* g++.dg/cpp0x/dependent1.C: New.

View File

@ -30,12 +30,17 @@
# else
# define SIZE 248
# endif
#elif defined (__powerpc64__) || defined (__PPC64__)
#elif defined (__powerpc64__) || defined (__ppc64__) || defined (__POWERPC64__) \
|| defined (__PPC64__)
# define SIZE 180
#elif defined (__powerpc__) || defined (__PPC__) || defined (__ppc__) \
|| defined (__POWERPC__) || defined (PPC) || defined (_IBMR2)
# if defined (__ALTIVEC__)
# define SIZE 220
# if defined (__APPLE__)
# define SIZE 204
# else
# define SIZE 220
# endif
# else
# define SIZE 240
# endif