diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg')
-rw-r--r-- | gcc/testsuite/gcc.dg/20001009-1.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/20010912-1.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/20020122-4.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/20020415-1.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/20020430-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/20021018-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/20021023-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/20021029-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/20021116-1.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/20030120-1.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/20030213-1.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/20030225-1.c | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/20030702-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/20030708-1.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/20040311-2.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/inline-2.c | 3 |
16 files changed, 16 insertions, 25 deletions
diff --git a/gcc/testsuite/gcc.dg/20001009-1.c b/gcc/testsuite/gcc.dg/20001009-1.c index 42336f70d88..1a5567779b5 100644 --- a/gcc/testsuite/gcc.dg/20001009-1.c +++ b/gcc/testsuite/gcc.dg/20001009-1.c @@ -1,6 +1,5 @@ -/* { dg-do compile } */ +/* { dg-do compile { target fpic } } */ /* { dg-options "-O2 -fpic" } */ -/* { dg-warning "not supported" "PIC unsupported" { target cris-*-elf* cris-*-aout* mmix-*-* } 0 } */ extern void foo (void *a, double x, double y); void diff --git a/gcc/testsuite/gcc.dg/20010912-1.c b/gcc/testsuite/gcc.dg/20010912-1.c index 7769b496e55..f41f698745f 100644 --- a/gcc/testsuite/gcc.dg/20010912-1.c +++ b/gcc/testsuite/gcc.dg/20010912-1.c @@ -1,6 +1,5 @@ -/* { dg-do run } */ +/* { dg-do run { target fpic } } */ /* { dg-options "-O2 -fpic" } */ -/* { dg-warning "not supported" "PIC unsupported" { target cris-*-elf* cris-*-aout* mmix-*-* } 0 } */ /* { dg-bogus "\[Uu\]nresolved symbol .(_GLOBAL_OFFSET_TABLE_|\[_.A-Za-z\]\[_.0-9A-Za-z\]*@(PLT|GOT|GOTOFF))" "PIC unsupported" { xfail *-*-netware* } 0 } */ extern void abort (void); diff --git a/gcc/testsuite/gcc.dg/20020122-4.c b/gcc/testsuite/gcc.dg/20020122-4.c index 653dfcb75dd..50aef195098 100644 --- a/gcc/testsuite/gcc.dg/20020122-4.c +++ b/gcc/testsuite/gcc.dg/20020122-4.c @@ -1,8 +1,7 @@ /* Alpha -msmall-data didn't transform (mem (symbol_ref)) to (mem (lo_sum pic (symbol_ref))) within an asm at the right time. */ -/* { dg-do compile } */ +/* { dg-do compile { target fpic } } */ /* { dg-options "-O2 -fpic" } */ -/* { dg-warning "not supported" "PIC unsupported" { target cris-*-elf* cris-*-aout* mmix-*-* } 0 } */ void foo() { diff --git a/gcc/testsuite/gcc.dg/20020415-1.c b/gcc/testsuite/gcc.dg/20020415-1.c index de7fc614f48..7d5b5aebdea 100644 --- a/gcc/testsuite/gcc.dg/20020415-1.c +++ b/gcc/testsuite/gcc.dg/20020415-1.c @@ -1,9 +1,8 @@ /* PR target/6303 This testcase ICEd because s390 did not define ASM_SIMPLIFY_DWARF_ADDR hook. */ -/* { dg-do compile } */ +/* { dg-do compile { target fpic } } */ /* { dg-options "-O2 -fpic -g" } */ -/* { dg-warning "not supported" "PIC unsupported" { target cris-*-elf* mmix-*-* } 0 } */ static inline char * bar (unsigned long x, char *y) diff --git a/gcc/testsuite/gcc.dg/20020430-1.c b/gcc/testsuite/gcc.dg/20020430-1.c index 5df76801bf4..8fcdfba0f33 100644 --- a/gcc/testsuite/gcc.dg/20020430-1.c +++ b/gcc/testsuite/gcc.dg/20020430-1.c @@ -4,7 +4,7 @@ until the last moment. After which we did not delete dead code, which left a reference to the deleted ADDR_VEC. */ -/* { dg-do compile } */ +/* { dg-do compile { target fpic } } */ /* { dg-options "-O2 -frename-registers -fpic" } */ typedef unsigned long XID; diff --git a/gcc/testsuite/gcc.dg/20021018-1.c b/gcc/testsuite/gcc.dg/20021018-1.c index f460e77a1ea..f1d296dc3f5 100644 --- a/gcc/testsuite/gcc.dg/20021018-1.c +++ b/gcc/testsuite/gcc.dg/20021018-1.c @@ -1,4 +1,4 @@ -/* { dg-do run } */ +/* { dg-do run { target fpic } } */ /* { dg-options "-O2 -fpic" } */ /* { dg-bogus "\[Uu\]nresolved symbol .(_GLOBAL_OFFSET_TABLE_|\[_.A-Za-z\]\[_.0-9A-Za-z\]*@(PLT|GOT|GOTOFF))" "PIC unsupported" { xfail *-*-netware* } 0 } */ diff --git a/gcc/testsuite/gcc.dg/20021023-1.c b/gcc/testsuite/gcc.dg/20021023-1.c index 6fe555a5b2f..3e16a84fe0c 100644 --- a/gcc/testsuite/gcc.dg/20021023-1.c +++ b/gcc/testsuite/gcc.dg/20021023-1.c @@ -1,6 +1,6 @@ /* This testcase ICEd on x86-64 because LABEL_REF + small const was not considered as local_symbolic_operand. */ -/* { dg-do compile } */ +/* { dg-do compile { target fpic } } */ /* { dg-options "-O2 -fpic" } */ typedef __builtin_va_list va_list; diff --git a/gcc/testsuite/gcc.dg/20021029-1.c b/gcc/testsuite/gcc.dg/20021029-1.c index d8dd8c015d5..bc330c56f49 100644 --- a/gcc/testsuite/gcc.dg/20021029-1.c +++ b/gcc/testsuite/gcc.dg/20021029-1.c @@ -1,6 +1,6 @@ /* Test whether difference of local labels doesn't force variables into writable sections. */ -/* { dg-do compile } */ +/* { dg-do compile { target fpic } } */ /* { dg-options "-O2 -fpic" } */ /* { dg-options "-O2 -fpic -mpt-fixed" { target sh64*-*-* } } */ /* { dg-final { scan-assembler-not ".data.rel.ro.local" } } */ diff --git a/gcc/testsuite/gcc.dg/20021116-1.c b/gcc/testsuite/gcc.dg/20021116-1.c index 27a3e3a4cec..4d3afc7b478 100644 --- a/gcc/testsuite/gcc.dg/20021116-1.c +++ b/gcc/testsuite/gcc.dg/20021116-1.c @@ -1,6 +1,5 @@ -/* { dg-do compile } */ +/* { dg-do compile { target fpic } } */ /* { dg-options "-O2 -fpic" } */ -/* { dg-warning "not supported" "PIC unsupported" { target cris-*-elf* cris-*-aout* mmix-*-* } 0 } */ void ** foo (void **x, int y, void *z) diff --git a/gcc/testsuite/gcc.dg/20030120-1.c b/gcc/testsuite/gcc.dg/20030120-1.c index 05689ad0961..2d3e2ce6583 100644 --- a/gcc/testsuite/gcc.dg/20030120-1.c +++ b/gcc/testsuite/gcc.dg/20030120-1.c @@ -1,7 +1,6 @@ /* PR 7154 */ -/* { dg-do compile } */ +/* { dg-do compile { target fpic } } */ /* { dg-options "-O -fpic" } */ -/* { dg-warning "not supported" "PIC unsupported" { target cris-*-elf* mmix-*-* } 0 } */ const int x[1]={ 1 }; void foo(int i, int *p) diff --git a/gcc/testsuite/gcc.dg/20030213-1.c b/gcc/testsuite/gcc.dg/20030213-1.c index 8394ba054ad..a1cf180364f 100644 --- a/gcc/testsuite/gcc.dg/20030213-1.c +++ b/gcc/testsuite/gcc.dg/20030213-1.c @@ -1,7 +1,6 @@ /* Testcase for http://gcc.gnu.org/ml/gcc-patches/2003-02/msg01017.html */ -/* { dg-do link } */ +/* { dg-do link { target fpic } } */ /* { dg-options "-O -fpic" } */ -/* { dg-warning "not supported" "PIC unsupported" { target cris-*-elf* cris-*-aout* mmix-*-* } 0 } */ /* { dg-bogus "\[Uu\]nresolved symbol .(_GLOBAL_OFFSET_TABLE_|\[_.A-Za-z\]\[_.0-9A-Za-z\]*@(PLT|GOT|GOTOFF))" "PIC unsupported" { xfail *-*-netware* } 0 } */ int *g; diff --git a/gcc/testsuite/gcc.dg/20030225-1.c b/gcc/testsuite/gcc.dg/20030225-1.c index ea7736331c8..7f32fdcfee7 100644 --- a/gcc/testsuite/gcc.dg/20030225-1.c +++ b/gcc/testsuite/gcc.dg/20030225-1.c @@ -3,9 +3,8 @@ fixed register. Distilled from the xvid sources by Guillaume Morin <guillaume@morinfr.org> and Benjamin Herrenschmidt <benh@kernel.crashing.org>. */ -/* { dg-do run } */ +/* { dg-do run { target fpic } } */ /* { dg-options "-O2 -fPIC" } */ -/* { dg-warning "not supported" "PIC unsupported" { target cris-*-elf* mmix-*-* } 0 } */ /* { dg-bogus "\[Uu\]nresolved symbol .(_GLOBAL_OFFSET_TABLE_|\[_.A-Za-z\]\[_.0-9A-Za-z\]*@(PLT|GOT|GOTOFF))" "PIC unsupported" { xfail *-*-netware* } 0 } */ extern void exit (int); diff --git a/gcc/testsuite/gcc.dg/20030702-1.c b/gcc/testsuite/gcc.dg/20030702-1.c index a25e9a3e973..892f7d50539 100644 --- a/gcc/testsuite/gcc.dg/20030702-1.c +++ b/gcc/testsuite/gcc.dg/20030702-1.c @@ -1,6 +1,6 @@ /* This tests whether REG_ALWAYS_RETURN notes are handled correctly in combine. */ -/* { dg-do compile } */ +/* { dg-do compile { target fpic } } */ /* { dg-options "-O2 -fpic -fprofile-arcs" } */ void test (void) diff --git a/gcc/testsuite/gcc.dg/20030708-1.c b/gcc/testsuite/gcc.dg/20030708-1.c index d0b5b2bd2b9..819ad126606 100644 --- a/gcc/testsuite/gcc.dg/20030708-1.c +++ b/gcc/testsuite/gcc.dg/20030708-1.c @@ -1,5 +1,5 @@ /* PR c/11420 */ -/* { dg-do link } */ +/* { dg-do link { target fpic } } */ /* { dg-options "-O2 -fpic" } */ /* { dg-bogus "\[Uu\]nresolved symbol .(_GLOBAL_OFFSET_TABLE_|\[_.A-Za-z\]\[_.0-9A-Za-z\]*@(PLT|GOT|GOTOFF))" "PIC unsupported" { xfail *-*-netware* } 0 } */ diff --git a/gcc/testsuite/gcc.dg/20040311-2.c b/gcc/testsuite/gcc.dg/20040311-2.c index 0d0d5da3259..9dfbb9947a3 100644 --- a/gcc/testsuite/gcc.dg/20040311-2.c +++ b/gcc/testsuite/gcc.dg/20040311-2.c @@ -1,5 +1,5 @@ /* PR target/14533 */ -/* { dg-do compile } */ +/* { dg-do compile { target fpic } } */ /* { dg-options "-O2 -fpic" } */ void bar (char *, int); diff --git a/gcc/testsuite/gcc.dg/inline-2.c b/gcc/testsuite/gcc.dg/inline-2.c index 80e7848aca2..ef7c71105af 100644 --- a/gcc/testsuite/gcc.dg/inline-2.c +++ b/gcc/testsuite/gcc.dg/inline-2.c @@ -1,8 +1,7 @@ /* Ensure that we continue to consider FOO local, even though it has been deferred. */ -/* { dg-do compile } */ +/* { dg-do compile { target fpic } } */ /* { dg-options "-O3 -finline-limit=0 -fpic" } */ -/* { dg-warning "not supported" "PIC unsupported" { target cris-*-elf* cris-*-aout* mmix-*-* } 0 } */ static int foo(void) { |