Commit f7e4c09b by Eric Botcazou Committed by Eric Botcazou

stack-usage-1.c: Adjust on i386/Darwin.

	* gcc.dg/stack-usage-1.c: Adjust on i386/Darwin.
	* gcc.target/i386/stack-usage-realign.c: Skip on i386/Darwin.

From-SVN: r163768
parent 86e6a239
2010-09-02 Eric Botcazou <ebotcazou@adacore.com>
* 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 <burnus@net-b.de> 2010-09-02 Tobias Burnus <burnus@net-b.de>
PR fortran/45489 PR fortran/45489
......
...@@ -8,7 +8,11 @@ ...@@ -8,7 +8,11 @@
Then check that this is the actual stack usage in the assembly file. */ Then check that this is the actual stack usage in the assembly file. */
#if defined(__i386__) #if defined(__i386__)
# define SIZE 248 # if defined (__MACH__)
# define SIZE 232
# else
# define SIZE 248
# endif
#elif defined(__x86_64__) #elif defined(__x86_64__)
# define SIZE 356 # define SIZE 356
#elif defined (__sparc__) #elif defined (__sparc__)
......
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-require-effective-target ilp32 } */ /* { dg-require-effective-target ilp32 } */
/* { dg-skip-if "no stack realignment" { *-*-darwin* } { "*" } { "" } } */
/* { dg-options "-fstack-usage -msse2 -mforce-drap" } */ /* { dg-options "-fstack-usage -msse2 -mforce-drap" } */
typedef int __attribute__((vector_size(16))) vec; typedef int __attribute__((vector_size(16))) vec;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment