From: Peter Bergner Date: Mon, 28 Mar 2011 18:12:34 +0000 (-0500) Subject: stack-usage-1.c (SIZE): Provide proper values for __PPC64__ and __PPC__ && __ALTIVEC__. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=07276ac96821f8867bdce20fe94a8f485f613dd6;p=gcc.git stack-usage-1.c (SIZE): Provide proper values for __PPC64__ and __PPC__ && __ALTIVEC__. * gcc.dg/stack-usage-1.c (SIZE): Provide proper values for __PPC64__ and __PPC__ && __ALTIVEC__. From-SVN: r171620 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 02e048f0c88..a6214b1adbf 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-03-28 Peter Bergner + + * gcc.dg/stack-usage-1.c (SIZE): Provide proper values for __PPC64__ + and __PPC__ && __ALTIVEC__. + 2011-03-28 Dominique d'Humieres PR testsuite/48238 diff --git a/gcc/testsuite/gcc.dg/stack-usage-1.c b/gcc/testsuite/gcc.dg/stack-usage-1.c index 1d03a8dc994..f4c4c114b02 100644 --- a/gcc/testsuite/gcc.dg/stack-usage-1.c +++ b/gcc/testsuite/gcc.dg/stack-usage-1.c @@ -30,9 +30,15 @@ # else # define SIZE 248 # endif +#elif defined (__powerpc64__) || defined (__PPC64__) +# define SIZE 180 #elif defined (__powerpc__) || defined (__PPC__) || defined (__ppc__) \ || defined (__POWERPC__) || defined (PPC) || defined (_IBMR2) -# define SIZE 240 +# if defined (__ALTIVEC__) +# define SIZE 220 +# else +# define SIZE 240 +# endif #elif defined (__AVR__) # define SIZE 254 #elif defined (__s390x__)