On Mar 29, 2011, at 5:14 AM, Peter Bergner wrote:
> Mike and David, I assume the updated patch below is ok for mainline?

Ok.  I applied it for you...  I'm assuming you don't have write after yet...  
Thanks for all the work.

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

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

Index: gcc.dg/stack-usage-1.c
===================================================================
--- gcc.dg/stack-usage-1.c      (revision 171691)
+++ gcc.dg/stack-usage-1.c      (working copy)
@@ -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

Reply via email to