]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
debug3.C, [...]: Guard test with { target fpic }.
authorHans-Peter Nilsson <hp@axis.com>
Sun, 16 Oct 2005 01:14:19 +0000 (01:14 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Sun, 16 Oct 2005 01:14:19 +0000 (01:14 +0000)
* g++.dg/debug/debug3.C, g++.dg/ext/visibility/noPLT.C,
g++.dg/opt/vt1.C, g++.old-deja/g++.other/local-alloc1.C,
gcc.dg/20001009-1.c, gcc.dg/20010912-1.c, gcc.dg/20020122-4.c,
gcc.dg/20020415-1.c, gcc.dg/20020430-1.c, gcc.dg/20021018-1.c,
gcc.dg/20021023-1.c, gcc.dg/20021029-1.c, gcc.dg/20021116-1.c,
gcc.dg/20030120-1.c, gcc.dg/20030213-1.c, gcc.dg/20030225-1.c,
gcc.dg/20030702-1.c, gcc.dg/20030708-1.c, gcc.dg/20040311-2.c,
gcc.dg/inline-2.c: Guard test with { target fpic }.  Remove
previous target-specific skips and warning-message matches where
applicable.

From-SVN: r105455

21 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/debug3.C
gcc/testsuite/g++.dg/ext/visibility/noPLT.C
gcc/testsuite/g++.dg/opt/vt1.C
gcc/testsuite/g++.old-deja/g++.other/local-alloc1.C
gcc/testsuite/gcc.dg/20001009-1.c
gcc/testsuite/gcc.dg/20010912-1.c
gcc/testsuite/gcc.dg/20020122-4.c
gcc/testsuite/gcc.dg/20020415-1.c
gcc/testsuite/gcc.dg/20020430-1.c
gcc/testsuite/gcc.dg/20021018-1.c
gcc/testsuite/gcc.dg/20021023-1.c
gcc/testsuite/gcc.dg/20021029-1.c
gcc/testsuite/gcc.dg/20021116-1.c
gcc/testsuite/gcc.dg/20030120-1.c
gcc/testsuite/gcc.dg/20030213-1.c
gcc/testsuite/gcc.dg/20030225-1.c
gcc/testsuite/gcc.dg/20030702-1.c
gcc/testsuite/gcc.dg/20030708-1.c
gcc/testsuite/gcc.dg/20040311-2.c
gcc/testsuite/gcc.dg/inline-2.c

index 70f1a0b27a500c90d040fa43f027a8e328a9b8df..acfcdb69212a78d846cd4bdd1669ff42cf1240dd 100644 (file)
@@ -1,3 +1,16 @@
+2005-10-16  Hans-Peter Nilsson  <hp@axis.com>
+
+       * g++.dg/debug/debug3.C, g++.dg/ext/visibility/noPLT.C,
+       g++.dg/opt/vt1.C, g++.old-deja/g++.other/local-alloc1.C,
+       gcc.dg/20001009-1.c, gcc.dg/20010912-1.c, gcc.dg/20020122-4.c,
+       gcc.dg/20020415-1.c, gcc.dg/20020430-1.c, gcc.dg/20021018-1.c,
+       gcc.dg/20021023-1.c, gcc.dg/20021029-1.c, gcc.dg/20021116-1.c,
+       gcc.dg/20030120-1.c, gcc.dg/20030213-1.c, gcc.dg/20030225-1.c,
+       gcc.dg/20030702-1.c, gcc.dg/20030708-1.c, gcc.dg/20040311-2.c,
+       gcc.dg/inline-2.c: Guard test with { target fpic }.  Remove
+       previous target-specific skips and warning-message matches where
+       applicable.
+
 2005-10-15  Mark Mitchell  <mark@codesourcery.com>
 
        PR c++/21347
index 14cd7c5a6cf9e9cd1446740260dd56b41413ac78..c7251429fa426106ac012afd9c86f06272f98610 100644 (file)
@@ -1,9 +1,8 @@
 // PR optimization/5547
 // This testcase caused ICE on IA-32, since DWARF-2 was unable
 // to emit location expression for parameter a of operator+.
-// { dg-do compile }
+// { dg-do compile { target fpic } }
 // { dg-options "-fpic" }
-// { dg-warning "not supported" "PIC unsupported" { target cris-*-elf* cris-*-aout* mmix-*-* } 0 }
 
 struct A { char *s; };
 
index 0ad981f7e61fb973edc22d0c16672c8a00ded1b1..fbca4ed2a9bdf112c0249ea8bb23baec3e1b1b7f 100644 (file)
@@ -1,5 +1,5 @@
 /* Test that -fvisibility=hidden prevents PLT. */
-/* { dg-do compile } */
+/* { dg-do compile { target fpic } } */
 /* { dg-require-visibility "" } */
 /* { dg-options "-fPIC -fvisibility=hidden" } */
 /* { dg-final { scan-assembler-not "methodEv@PLT" } } */
index 6a4850f0d2ff7a685d62191da6a47a698b647375..b3abb5d57a2fd318319c1297440c705b3bfc0e19 100644 (file)
@@ -1,6 +1,5 @@
 // Test whether vtable for S is not put into read-only section.
-// { dg-do compile }
-// { dg-skip-if "No -fpic" { mmix-*-* } { "*" } { "" } }
+// { dg-do compile { target fpic } }
 // { dg-options "-O2 -fpic -fno-rtti" }
 // Origin: Jakub Jelinek <jakub@redhat.com>
 
index 58fef68fb1f8c4f164df0bfe636e161807b12ca7..fe9d24fccf77e9eca96a72c3d0b919307a06f5f4 100644 (file)
@@ -1,7 +1,6 @@
-// { dg-do assemble  }
+// { dg-do assemble { target fpic } }
 // { dg-options "-O0 -fpic" }
 // Origin: Jakub Jelinek <jakub@redhat.com>
-// { dg-skip-if "No -fpic" { cris-*-elf* cris-*-aout* mmix-*-* } { "*" } { "" } }
 
 struct bar {
   bar() {}
index 42336f70d88bc18eb5189c70ea4d370bc898dd48..1a5567779b508c512733cdd1556427762975f54d 100644 (file)
@@ -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
index 7769b496e55545bda30865bc569d66dfa0d0a094..f41f698745fb478e942331474d02a7831bd080dd 100644 (file)
@@ -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);
index 653dfcb75ddd8535f72a52340cd26ce90f2eb077..50aef195098bdbe07dd50a3e8169c11043d56a5e 100644 (file)
@@ -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()
 {
index de7fc614f48998fcf3687493016c639a0e582d1b..7d5b5aebdea1a81c353ec6277a6e1790ff6b12fd 100644 (file)
@@ -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)
index 5df76801bf449e9da495e2d1ac09cba71faba90d..8fcdfba0f33339480dcc2ced99332b3748d5ada7 100644 (file)
@@ -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;
index f460e77a1eaf6b32b829ee780ec4746b38610427..f1d296dc3f5a46d4ac6e43ebc403207293686204 100644 (file)
@@ -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 } */
 
index 6fe555a5b2fe9cadb1dca5d8dcb892d343e68d3c..3e16a84fe0c158cb8581bb9f0c438c70bd838259 100644 (file)
@@ -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;
index d8dd8c015d5cf6c6a14a161363998b1a3080acf8..bc330c56f4939b121d02cb5521b820296f880319 100644 (file)
@@ -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" } } */
index 27a3e3a4cec62e051b272ce7ecd2f9b876d6305a..4d3afc7b47842a733c0a1f6871242751770f9776 100644 (file)
@@ -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)
index 05689ad0961a407fa121c04d1309fdf92fc5b84d..2d3e2ce658314e1dead3afba7bd4a143040905ca 100644 (file)
@@ -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)
index 8394ba054adcb0d7e4385f8a518929464fcb0a4e..a1cf180364f0814fe8c8ac4f6b0099dc9f056df6 100644 (file)
@@ -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;
index ea7736331c88eeca1ded59ed0c93bbbdb28ea7bc..7f32fdcfee751f764b6fb6dbacedddbd3d35d754 100644 (file)
@@ -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);
index a25e9a3e9734391fef1a54410e86e19e8b3c59da..892f7d50539bd4b996a1a537306b78e02c67450c 100644 (file)
@@ -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)
index d0b5b2bd2b908287f27e18714b0fbc6103a86811..819ad12660617cb2cc23b4081015350ae9088d49 100644 (file)
@@ -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 } */
 
index 0d0d5da325923f76eb9b869d69b425dbaa357d3d..9dfbb9947a3d72bb098a4c2b3e262eacab2942a1 100644 (file)
@@ -1,5 +1,5 @@
 /* PR target/14533 */
-/* { dg-do compile } */
+/* { dg-do compile { target fpic } } */
 /* { dg-options "-O2 -fpic" } */
 
 void bar (char *, int);
index 80e7848aca2c2ea592ea762b150c5dedf29aaf59..ef7c71105afae9158e04b854fbbe2144a626cf31 100644 (file)
@@ -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)
 {