diff options
author | Kean Johnston <jkj@sco.com> | 2005-12-14 17:30:34 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2005-12-14 17:30:34 +0000 |
commit | 9d1a0fdbcd69aa88d654d491c9d5726cd5c69357 (patch) | |
tree | 6df326928a0adf5d7ab9e54b0e549b522d199efe /gcc | |
parent | df06cddf763e48a395756c0f027ef06022217b21 (diff) | |
download | gcc-9d1a0fdbcd69aa88d654d491c9d5726cd5c69357.zip gcc-9d1a0fdbcd69aa88d654d491c9d5726cd5c69357.tar.gz gcc-9d1a0fdbcd69aa88d654d491c9d5726cd5c69357.tar.bz2 |
sibcall-6.c: Skip in -fPIC mode on X86 ilp32.
* gcc.dg/sibcall-6.c: Skip in -fPIC mode on X86 ilp32.
* gcc.target/i386/20020523-1.c: Ditto.
* gcc.target/i386/tailcall-1.c: Ditto.
* gcc.target/i386/ssetype-3.c: Make magic* static to work with -fPIC.
* gcc.target/i386/ssetype-5.c: Ditto.
Co-Authored-By: Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
From-SVN: r108521
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/sibcall-6.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/20020523-1.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/ssetype-3.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/ssetype-5.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/tailcall-1.c | 1 |
6 files changed, 14 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index c840237..bc6049b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2005-12-14 Kean Johnston <jkj@sco.com> + Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * gcc.dg/sibcall-6.c: Skip in -fPIC mode on X86 ilp32. + * gcc.target/i386/20020523-1.c: Ditto. + * gcc.target/i386/tailcall-1.c: Ditto. + * gcc.target/i386/ssetype-3.c: Make magic* static to work with -fPIC. + * gcc.target/i386/ssetype-5.c: Ditto. + 2005-12-14 Jeff Law <law@redhat.com> * gcc.dg/tree-ssa/foldstring-1.c: New test. diff --git a/gcc/testsuite/gcc.dg/sibcall-6.c b/gcc/testsuite/gcc.dg/sibcall-6.c index bb85510..ca26400 100644 --- a/gcc/testsuite/gcc.dg/sibcall-6.c +++ b/gcc/testsuite/gcc.dg/sibcall-6.c @@ -7,6 +7,7 @@ Contributed by Andreas Bauer <baueran@in.tum.de> */ /* { dg-do run { target i?86-*-* s390*-*-* x86_64-*-*} } */ +/* { dg-skip-if "" { { i?86-*-* x86_64-*-* } && ilp32 } { "-fpic" "-fPIC" } { "" } } */ /* { dg-options "-O2 -foptimize-sibling-calls" } */ extern void abort (void); diff --git a/gcc/testsuite/gcc.target/i386/20020523-1.c b/gcc/testsuite/gcc.target/i386/20020523-1.c index 51ae5ec..3338612 100644 --- a/gcc/testsuite/gcc.target/i386/20020523-1.c +++ b/gcc/testsuite/gcc.target/i386/20020523-1.c @@ -2,6 +2,7 @@ This testcase was miscompiled because sse_mov?fcc_const0* patterns were missing earlyclobber. */ /* { dg-do run { target i?86-*-* x86_64-*-* } } */ +/* { dg-skip-if "" { ilp32 } { "-fpic" "-fPIC" } { "" } } */ /* { dg-require-effective-target ilp32 } */ /* { dg-options "-march=pentium3 -msse -ffast-math -O2" } */ diff --git a/gcc/testsuite/gcc.target/i386/ssetype-3.c b/gcc/testsuite/gcc.target/i386/ssetype-3.c index 3b2461b..cae79e5 100644 --- a/gcc/testsuite/gcc.target/i386/ssetype-3.c +++ b/gcc/testsuite/gcc.target/i386/ssetype-3.c @@ -11,7 +11,7 @@ #include <xmmintrin.h> -__m128 magic_a, magic_b; +static __m128 magic_a, magic_b; __m128 t1(void) { diff --git a/gcc/testsuite/gcc.target/i386/ssetype-5.c b/gcc/testsuite/gcc.target/i386/ssetype-5.c index 866c4d3..b03c83b 100644 --- a/gcc/testsuite/gcc.target/i386/ssetype-5.c +++ b/gcc/testsuite/gcc.target/i386/ssetype-5.c @@ -10,7 +10,7 @@ /* Verify that we generate proper instruction with memory operand. */ #include <xmmintrin.h> -__m128i magic_a, magic_b; +static __m128i magic_a, magic_b; __m128i t1(void) { diff --git a/gcc/testsuite/gcc.target/i386/tailcall-1.c b/gcc/testsuite/gcc.target/i386/tailcall-1.c index b916b6c..0e8c2f3c 100644 --- a/gcc/testsuite/gcc.target/i386/tailcall-1.c +++ b/gcc/testsuite/gcc.target/i386/tailcall-1.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-skip-if "" { { i?86-*-* x86_64-*-* } && ilp32 } { "-fpic" "-fPIC" } { "" } } */ /* { dg-options "-O2" } */ typedef unsigned int Cardinal; |