From: Peter Bergner Date: Tue, 29 Mar 2011 20:16:49 +0000 (-0500) Subject: stack-usage-1.c (SIZE): Provide proper values for __ppc64__ and __APPLE__ && __PPC__... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5d9cd5d0a712de44cb61dd809a525b7d16359ec7;p=gcc.git stack-usage-1.c (SIZE): Provide proper values for __ppc64__ and __APPLE__ && __PPC__ && __ALTIVEC__. 2011-03-29 Peter Bergner Dominique d'Humieres * gcc.dg/stack-usage-1.c (SIZE): Provide proper values for __ppc64__ and __APPLE__ && __PPC__ && __ALTIVEC__. Co-Authored-By: Dominique d'Humieres From-SVN: r171692 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 95157981e25..08c775219b3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2011-03-29 Peter Bergner + Dominique d'Humieres + + * gcc.dg/stack-usage-1.c (SIZE): Provide proper values for __ppc64__ + and __APPLE__ && __PPC__ && __ALTIVEC__. + 2011-03-29 Jason Merrill * g++.dg/cpp0x/dependent1.C: New. diff --git a/gcc/testsuite/gcc.dg/stack-usage-1.c b/gcc/testsuite/gcc.dg/stack-usage-1.c index f4c4c114b02..321fec74d3a 100644 --- a/gcc/testsuite/gcc.dg/stack-usage-1.c +++ b/gcc/testsuite/gcc.dg/stack-usage-1.c @@ -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