diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d6b58a64991b..95a0b8b05e3e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-09-02 Eric Botcazou + + * gcc.dg/stack-usage-1.c: Adjust on i386/Darwin. + * gcc.target/i386/stack-usage-realign.c: Skip on i386/Darwin. + 2010-09-02 Tobias Burnus PR fortran/45489 diff --git a/gcc/testsuite/gcc.dg/stack-usage-1.c b/gcc/testsuite/gcc.dg/stack-usage-1.c index f1748826cc12..48fc9eecd406 100644 --- a/gcc/testsuite/gcc.dg/stack-usage-1.c +++ b/gcc/testsuite/gcc.dg/stack-usage-1.c @@ -8,7 +8,11 @@ Then check that this is the actual stack usage in the assembly file. */ #if defined(__i386__) -# define SIZE 248 +# if defined (__MACH__) +# define SIZE 232 +# else +# define SIZE 248 +# endif #elif defined(__x86_64__) # define SIZE 356 #elif defined (__sparc__) diff --git a/gcc/testsuite/gcc.target/i386/stack-usage-realign.c b/gcc/testsuite/gcc.target/i386/stack-usage-realign.c index 30d7835f2763..03d9d4174893 100644 --- a/gcc/testsuite/gcc.target/i386/stack-usage-realign.c +++ b/gcc/testsuite/gcc.target/i386/stack-usage-realign.c @@ -1,5 +1,6 @@ /* { dg-do compile } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-skip-if "no stack realignment" { *-*-darwin* } { "*" } { "" } } */ /* { dg-options "-fstack-usage -msse2 -mforce-drap" } */ typedef int __attribute__((vector_size(16))) vec;