diff options
author | Eric Christopher <echristo@gcc.gnu.org> | 2006-06-03 00:52:54 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gcc.gnu.org> | 2006-06-03 00:52:54 +0000 |
commit | 347b9c46e1653b9bdad22a394005b2c74abae764 (patch) | |
tree | 1f230f1ac675ccca54b4e57b1c78f2a172be5b0a | |
parent | 428659d2f7327875bbbc653e5ea073b14ed0d372 (diff) | |
download | gcc-347b9c46e1653b9bdad22a394005b2c74abae764.zip gcc-347b9c46e1653b9bdad22a394005b2c74abae764.tar.gz gcc-347b9c46e1653b9bdad22a394005b2c74abae764.tar.bz2 |
20000804-1.c: Skip if i?86-darwin.
2006-06-02 Eric Christopher <echristo@apple.com>
* gcc.c-torture/compile/20000804-1.c: Skip if i?86-darwin.
* gcc.target/i386/20020523-1.c: Skip if darwin.
* gcc.target/i386/asm-3.c: Ditto.
* gcc.target/i386/20011119-1.c: Ditto.
* gcc.target/i386/clobbers.c: Remove pic part of test.
From-SVN: r114338
-rw-r--r-- | gcc/testsuite/ChangeLog | 14 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/20000804-1.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/20011119-1.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/20020523-1.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/asm-3.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/clobbers.c | 5 |
6 files changed, 21 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index b6f3617..da82da6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2006-06-02 Eric Christopher <echristo@apple.com> + + * gcc.c-torture/compile/20000804-1.c: Skip if i?86-darwin. + * gcc.target/i386/20020523-1.c: Skip if darwin. + * gcc.target/i386/asm-3.c: Ditto. + * gcc.target/i386/20011119-1.c: Ditto. + * gcc.target/i386/clobbers.c: Remove pic part of test. + 2006-06-02 Steve Ellcey <sje@cup.hp.com> * g++.old-deja/g++.other/init5.C: XFAIL if cxa-atexit is false. @@ -6,7 +14,7 @@ and add other platforms as expected failures. 2006-06-01 Steve Ellcey <sje@cup.hp.com> - + * lib/target-supports.exp (is-effective-target): Add cxa_atexit. (is-effective-target-keyword): Ditto. @@ -66,7 +74,7 @@ 2006-05-30 Mark Mitchell <mark@codesourcery.com> PR c++/27803 - * g++.dg/parse/bitfield1.C: New test. + * g++.dg/parse/bitfield1.C: New test. 2006-05-30 Roger Sayle <roger@eyesopen.com> @@ -186,7 +194,7 @@ PR c++/20103 * g++.dg/ext/complit6.C: New test. * g++.dg/ext/complit3.C: Adjust error markers. - * g++.dg/init/const3.C: New test. + * g++.dg/init/const3.C: New test. 2006-05-25 Richard Guenther <rguenther@suse.de> diff --git a/gcc/testsuite/gcc.c-torture/compile/20000804-1.c b/gcc/testsuite/gcc.c-torture/compile/20000804-1.c index 0decbc9..842a532 100644 --- a/gcc/testsuite/gcc.c-torture/compile/20000804-1.c +++ b/gcc/testsuite/gcc.c-torture/compile/20000804-1.c @@ -2,6 +2,7 @@ statement to force a 'long long' (64-bits) to go in a register. */ /* { dg-do assemble { xfail m6811-*-* m6812-*-* h8300-*-* } } */ /* { dg-skip-if "" { { i?86-*-* x86_64-*-* } && ilp32 } { "-fpic" "-fPIC" } { "" } } */ +/* { dg-skip-if "PIC default" { i?86-*-darwin* } { "*" } { "" } } */ /* { dg-skip-if "No 64-bit registers" { m32c-*-* } { "*" } { "" } } */ /* Copyright (C) 2000, 2003 Free Software Foundation */ diff --git a/gcc/testsuite/gcc.target/i386/20011119-1.c b/gcc/testsuite/gcc.target/i386/20011119-1.c index bbdf104..4a33857 100644 --- a/gcc/testsuite/gcc.target/i386/20011119-1.c +++ b/gcc/testsuite/gcc.target/i386/20011119-1.c @@ -2,6 +2,7 @@ /* { dg-do run { target i?86-*-* x86_64-*-* } } */ /* { dg-require-effective-target ilp32 } */ /* { dg-skip-if "" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */ +/* { dg-skip-if "PIC default" { "*-*-darwin*" } { "*" } { "" } } */ /* { dg-options "-O2 -fomit-frame-pointer" } */ static int ustrsize (const char *s); @@ -59,7 +60,7 @@ main() ucwidth = ucwidth_; ugetxc = ugetxc_; usetc = usetc_; - + /* ??? It is impossible to explicitly modify the hard frame pointer. This will run afoul of code in flow.c that declines to mark regs in eliminate_regs in regs_ever_used. Apparently, we have to wait diff --git a/gcc/testsuite/gcc.target/i386/20020523-1.c b/gcc/testsuite/gcc.target/i386/20020523-1.c index 3338612..df9e0cb 100644 --- a/gcc/testsuite/gcc.target/i386/20020523-1.c +++ b/gcc/testsuite/gcc.target/i386/20020523-1.c @@ -3,6 +3,7 @@ patterns were missing earlyclobber. */ /* { dg-do run { target i?86-*-* x86_64-*-* } } */ /* { dg-skip-if "" { ilp32 } { "-fpic" "-fPIC" } { "" } } */ +/* { dg-skip-if "PIC default" { *-*-darwin* } { "*" } { "" } } */ /* { dg-require-effective-target ilp32 } */ /* { dg-options "-march=pentium3 -msse -ffast-math -O2" } */ diff --git a/gcc/testsuite/gcc.target/i386/asm-3.c b/gcc/testsuite/gcc.target/i386/asm-3.c index 43cec25..fb194e7 100644 --- a/gcc/testsuite/gcc.target/i386/asm-3.c +++ b/gcc/testsuite/gcc.target/i386/asm-3.c @@ -2,6 +2,7 @@ /* { dg-do run { target i?86-*-* x86_64-*-* } } */ /* { dg-options "-O2" } */ /* { dg-skip-if "" { ilp32 } { "-fpic" "-fPIC" } { "" } } */ +/* { dg-skip-if "PIC default" { *-*-darwin* } { "*" } { "" } } */ extern void abort (void); diff --git a/gcc/testsuite/gcc.target/i386/clobbers.c b/gcc/testsuite/gcc.target/i386/clobbers.c index be48ed7..e0b0603 100644 --- a/gcc/testsuite/gcc.target/i386/clobbers.c +++ b/gcc/testsuite/gcc.target/i386/clobbers.c @@ -11,9 +11,14 @@ int main () __asm__ ("movl $1,%0\n\txorl %%eax,%%eax" : "=r" (i) : : "eax"); if (i != 1) abort (); + /* On darwin you can't call external functions from non-pic code, + however, clobbering ebx isn't valid in pic code. Instead of + disabling the whole test, just disable the ebx clobbering part. */ +#if !(defined (__MACH__)) __asm__ ("movl $1,%0\n\txorl %%ebx,%%ebx" : "=r" (i) : : "ebx"); if (i != 1) abort (); +#endif __asm__ ("movl $1,%0\n\txorl %%ecx,%%ecx" : "=r" (i) : : "ecx"); if (i != 1) abort (); |