summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog7
-rw-r--r--gcc/testsuite/gcc.dg/20001012-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/20001012-2.c2
-rw-r--r--gcc/testsuite/gcc.dg/20020222-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/tls/opt-7.c1
5 files changed, 11 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 0789496dc4a..47233a9add0 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,12 @@
2007-07-06 Nathan Froyd <froydnj@codesourcery.com>
+ * gcc.dg/20001012-1.c: Run on all fpic-capable targets.
+ * gcc.dg/20001012-2.c: Likewise.
+ * gcc.dg/tls/opt-7.c: Require an fpic-capable target.
+ * gcc.dg/20000222-1.c: Add -fPIC on all fpic-capable targets.
+
+2007-07-06 Nathan Froyd <froydnj@codesourcery.com>
+
* gcc.c-torture/execute/multi-ix.c (CHUNK): Be more conservative
about the chunk size when STACK_SIZE is defined.
diff --git a/gcc/testsuite/gcc.dg/20001012-1.c b/gcc/testsuite/gcc.dg/20001012-1.c
index 061840e602b..eda69c0296f 100644
--- a/gcc/testsuite/gcc.dg/20001012-1.c
+++ b/gcc/testsuite/gcc.dg/20001012-1.c
@@ -1,4 +1,4 @@
-/* { dg-do run { target sparc*-*-* } } */
+/* { dg-do run { target fpic } } */
/* { dg-options "-O2 -fpic" } */
extern void abort (void);
diff --git a/gcc/testsuite/gcc.dg/20001012-2.c b/gcc/testsuite/gcc.dg/20001012-2.c
index df6130d4f0a..32dc27c59fa 100644
--- a/gcc/testsuite/gcc.dg/20001012-2.c
+++ b/gcc/testsuite/gcc.dg/20001012-2.c
@@ -1,4 +1,4 @@
-/* { dg-do run { target sparc*-*-* } } */
+/* { dg-do run { target fpic } } */
/* { dg-options "-O2 -fpic" } */
extern void abort (void);
diff --git a/gcc/testsuite/gcc.dg/20020222-1.c b/gcc/testsuite/gcc.dg/20020222-1.c
index 61f10540f2a..d2cf5fe6aa0 100644
--- a/gcc/testsuite/gcc.dg/20020222-1.c
+++ b/gcc/testsuite/gcc.dg/20020222-1.c
@@ -3,7 +3,7 @@
but did not update reg info which load_mems needed. */
/* { dg-do compile } */
/* { dg-options "-O2" } */
-/* { dg-options "-O2 -fPIC" { target sparc*-*-* } } */
+/* { dg-options "-O2 -fPIC" { target fpic } } */
extern void foo (void);
static char a[256];
diff --git a/gcc/testsuite/gcc.dg/tls/opt-7.c b/gcc/testsuite/gcc.dg/tls/opt-7.c
index c345068a203..44b900f542a 100644
--- a/gcc/testsuite/gcc.dg/tls/opt-7.c
+++ b/gcc/testsuite/gcc.dg/tls/opt-7.c
@@ -1,6 +1,7 @@
/* { dg-do compile } */
/* { dg-options "-O2 -fPIC" } */
/* { dg-require-effective-target tls } */
+/* { dg-require-effective-target fpic } */
static __thread void *baz [4] __attribute__((tls_model ("initial-exec")));
void foo (void)
OpenPOWER on IntegriCloud