summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-18 21:44:50 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-18 21:44:50 +0000
commita9c4858f27a4b3f4a10eddb966a17c7224dc30f7 (patch)
tree3695b889f04ea7ec1f53927eed2ce6aa25e4651a /gcc
parent9975461f5d25d5c0c05bec04eb54ea93cba777af (diff)
downloadgcc-a9c4858f27a4b3f4a10eddb966a17c7224dc30f7.tar.gz
* gcc.dg/980523-1.c, gcc.dg/980526-1.c, gcc.dg/switch-1.c: Use
target fpic. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112204 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.dg/980523-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/980526-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/switch-1.c2
4 files changed, 8 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 528ba66c649..4dbc9a4e497 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2006-03-18 Joseph S. Myers <joseph@codesourcery.com>
+
+ * gcc.dg/980523-1.c, gcc.dg/980526-1.c, gcc.dg/switch-1.c: Use
+ target fpic.
+
2006-03-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gfortran.dg/direct_io_1.f90, gfortran.dg/iostat_2.f90,
diff --git a/gcc/testsuite/gcc.dg/980523-1.c b/gcc/testsuite/gcc.dg/980523-1.c
index 6ca79efff16..970b57c597c 100644
--- a/gcc/testsuite/gcc.dg/980523-1.c
+++ b/gcc/testsuite/gcc.dg/980523-1.c
@@ -1,4 +1,4 @@
-/* { dg-do run { target rs6000-*-linux* powerpc*-*-linux*} } */
+/* { dg-do run { target fpic } } */
/* { dg-options "-O2 -fpic" } */
extern void exit (int);
diff --git a/gcc/testsuite/gcc.dg/980526-1.c b/gcc/testsuite/gcc.dg/980526-1.c
index b92f8883dfb..6ab9db67933 100644
--- a/gcc/testsuite/gcc.dg/980526-1.c
+++ b/gcc/testsuite/gcc.dg/980526-1.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target rs6000-*-linux* powerpc*-*-linux* } } */
+/* { dg-do compile { target fpic } } */
/* { dg-options "-O2 -fpic" } */
int
diff --git a/gcc/testsuite/gcc.dg/switch-1.c b/gcc/testsuite/gcc.dg/switch-1.c
index e4f5ad62859..1879790dd12 100644
--- a/gcc/testsuite/gcc.dg/switch-1.c
+++ b/gcc/testsuite/gcc.dg/switch-1.c
@@ -1,4 +1,4 @@
-/* { dg-do compile { target rs6000-*-linux* powerpc*-*-linux*} } */
+/* { dg-do compile { target fpic } } */
/* { dg-options "-fpic -O2" } */
void f (char *s)