diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-12 08:59:07 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-03-12 08:59:07 +0000 |
commit | a975e8f803ea9c3afbdb8f3cc987fdd9f077a5ff (patch) | |
tree | 974faf24a62de8778b0617b3d93122ea8024d6c2 /gcc/testsuite/gcc.target | |
parent | 96b038b02c1cf3701396e03fb20b314dc0369b0c (diff) | |
download | gcc-a975e8f803ea9c3afbdb8f3cc987fdd9f077a5ff.tar.gz |
gcc/testsuite/
* gcc.c-torture/compile/981006-1.c: Use the non-PIC options if
PIC is not supported.
* gcc.dg/20020103-1.c: Add dg-require-effective-target fpic.
* gcc.dg/20020426-2.c: Likewise.
* gcc.dg/pr28243.c: Likewise.
* gcc.dg/visibility-11.c: Likewise.
* gcc.dg/tls/opt-9.c: Likewise.
* gcc.dg/tls/opt-10.c: Likewise.
* gcc.dg/tls/pic-1.c: Likewise.
* gcc.dg/tls/struct-1.c: Likewise.
* gcc.target/i386/20000807-1.c: Likewise.
* gcc.target/i386/20000904-1.c: Likewise.
* gcc.target/i386/20011119-1.c: Likewise.
* gcc.target/i386/990213-2.c: Likewise.
* gcc.target/i386/990214-1.c: Likewise.
* gcc.target/i386/compress-float-387-pic.c: Likewise.
* gcc.target/i386/compress-float-sse-pic.c: Likewise.
* gcc.target/i386/pic-1.c: Likewise.
* gcc.target/i386/pr21518.c: Likewise.
* gcc.target/i386/pr23098.c: Likewise.
* gcc.target/i386/pr23943.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122836 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.target')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/20000807-1.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/20000904-1.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/20011119-1.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/990213-2.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/990214-1.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/compress-float-387-pic.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/compress-float-sse-pic.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/pic-1.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/pr21518.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/pr23098.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/pr23943.c | 1 |
11 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/20000807-1.c b/gcc/testsuite/gcc.target/i386/20000807-1.c index 360e3245989..70b0182b054 100644 --- a/gcc/testsuite/gcc.target/i386/20000807-1.c +++ b/gcc/testsuite/gcc.target/i386/20000807-1.c @@ -1,4 +1,5 @@ /* { dg-do compile { target i?86-*-* x86_64-*-* } } */ +/* { dg-require-effective-target fpic } */ /* { dg-options "-Os -fpic" } */ #include <string.h> diff --git a/gcc/testsuite/gcc.target/i386/20000904-1.c b/gcc/testsuite/gcc.target/i386/20000904-1.c index 31f937cab71..bf00d557d71 100644 --- a/gcc/testsuite/gcc.target/i386/20000904-1.c +++ b/gcc/testsuite/gcc.target/i386/20000904-1.c @@ -1,4 +1,5 @@ /* { dg-do compile { target i?86-*-* x86_64-*-* } } */ +/* { dg-require-effective-target fpic } */ /* { dg-options "-O0 -fpic" } */ static struct { diff --git a/gcc/testsuite/gcc.target/i386/20011119-1.c b/gcc/testsuite/gcc.target/i386/20011119-1.c index 4a338570dda..dc724aa60c1 100644 --- a/gcc/testsuite/gcc.target/i386/20011119-1.c +++ b/gcc/testsuite/gcc.target/i386/20011119-1.c @@ -1,6 +1,7 @@ /* Test for reload failing to eliminate from argp to sp. */ /* { dg-do run { target i?86-*-* x86_64-*-* } } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-require-effective-target fpic } */ /* { dg-skip-if "" { "*-*-*" } { "-fpic" "-fPIC" } { "" } } */ /* { dg-skip-if "PIC default" { "*-*-darwin*" } { "*" } { "" } } */ /* { dg-options "-O2 -fomit-frame-pointer" } */ diff --git a/gcc/testsuite/gcc.target/i386/990213-2.c b/gcc/testsuite/gcc.target/i386/990213-2.c index d095e3723f9..899f3395de3 100644 --- a/gcc/testsuite/gcc.target/i386/990213-2.c +++ b/gcc/testsuite/gcc.target/i386/990213-2.c @@ -1,4 +1,5 @@ /* { dg-do compile { target i?86-*-* x86_64-*-* } } */ +/* { dg-require-effective-target fpic } */ /* { dg-options "-fPIC" } */ struct normal_encoding {}; diff --git a/gcc/testsuite/gcc.target/i386/990214-1.c b/gcc/testsuite/gcc.target/i386/990214-1.c index b3cb519a471..d9e401ddb89 100644 --- a/gcc/testsuite/gcc.target/i386/990214-1.c +++ b/gcc/testsuite/gcc.target/i386/990214-1.c @@ -1,4 +1,5 @@ /* { dg-do compile { target i?86-*-* x86_64-*-* } } */ +/* { dg-require-effective-target fpic } */ /* { dg-options "-fPIC" } */ typedef int int64_t __attribute__ ((__mode__ ( __DI__ ))) ; diff --git a/gcc/testsuite/gcc.target/i386/compress-float-387-pic.c b/gcc/testsuite/gcc.target/i386/compress-float-387-pic.c index 0673f5d1c8e..bae12ff1710 100644 --- a/gcc/testsuite/gcc.target/i386/compress-float-387-pic.c +++ b/gcc/testsuite/gcc.target/i386/compress-float-387-pic.c @@ -1,5 +1,6 @@ /* { dg-do compile { target i?86*-*-* } } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-require-effective-target fpic } */ /* { dg-options "-O2 -march=pentium4 -mtune=prescott -mfpmath=387 -fpic" } */ double foo (double x) { return x + 1.75; diff --git a/gcc/testsuite/gcc.target/i386/compress-float-sse-pic.c b/gcc/testsuite/gcc.target/i386/compress-float-sse-pic.c index 52cf4637716..4999d207ac9 100644 --- a/gcc/testsuite/gcc.target/i386/compress-float-sse-pic.c +++ b/gcc/testsuite/gcc.target/i386/compress-float-sse-pic.c @@ -1,5 +1,6 @@ /* { dg-do compile { target i?86*-*-* } } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-require-effective-target fpic } */ /* { dg-options "-O2 -march=pentium4 -mtune=prescott -mfpmath=sse -fpic" } */ double foo (double x) { return x + 1.75; diff --git a/gcc/testsuite/gcc.target/i386/pic-1.c b/gcc/testsuite/gcc.target/i386/pic-1.c index 7762230c2f6..66a18b099e6 100644 --- a/gcc/testsuite/gcc.target/i386/pic-1.c +++ b/gcc/testsuite/gcc.target/i386/pic-1.c @@ -1,6 +1,7 @@ /* PR target/8340 */ /* { dg-do compile { target i?86-*-* x86_64-*-* } } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-require-effective-target fpic } */ /* { dg-options "-fPIC" } */ int foo () diff --git a/gcc/testsuite/gcc.target/i386/pr21518.c b/gcc/testsuite/gcc.target/i386/pr21518.c index f2ac666071e..b42d9c9f0b3 100644 --- a/gcc/testsuite/gcc.target/i386/pr21518.c +++ b/gcc/testsuite/gcc.target/i386/pr21518.c @@ -1,6 +1,7 @@ /* { dg-do compile } */ /* { dg-options "-O2 -fPIC -fno-tree-pre" } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-require-effective-target fpic } */ extern void __attribute__ ((regparm (3))) drawPointsLines (char type, int first, int *dd); diff --git a/gcc/testsuite/gcc.target/i386/pr23098.c b/gcc/testsuite/gcc.target/i386/pr23098.c index 3ff4b6435cc..0f837d242b8 100644 --- a/gcc/testsuite/gcc.target/i386/pr23098.c +++ b/gcc/testsuite/gcc.target/i386/pr23098.c @@ -3,6 +3,7 @@ /* { dg-options "-O2 -fPIC" } */ /* { dg-final { scan-assembler-not "\.LC\[0-9\]" } } */ /* { dg-require-effective-target ilp32 } */ +/* { dg-require-effective-target fpic } */ double foo (float); diff --git a/gcc/testsuite/gcc.target/i386/pr23943.c b/gcc/testsuite/gcc.target/i386/pr23943.c index 5e4ad9b2112..576cd61c1f9 100644 --- a/gcc/testsuite/gcc.target/i386/pr23943.c +++ b/gcc/testsuite/gcc.target/i386/pr23943.c @@ -1,6 +1,7 @@ /* This used to ICE in side_effects_p, due to a problem in cse.c. Origin: marcus at jet dot franken dot de. */ /* { dg-do compile { target i?86-*-* x86_64-*-* } } */ +/* { dg-require-effective-target fpic } */ /* { dg-options "-O2 -fPIC" } */ typedef long unsigned int size_t; |