aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@codesourcery.com>2007-07-06 20:45:29 +0000
committerNathan Froyd <froydnj@gcc.gnu.org>2007-07-06 20:45:29 +0000
commit8cea2d67aba7bf4d4551667c39647b478214fba1 (patch)
treeddf79da5427bec9dd7ae7ee29e0fa81dfed042f9 /gcc/testsuite
parent2fdf2ff4259795ce3b44121e099baca82662efd2 (diff)
downloadgcc-8cea2d67aba7bf4d4551667c39647b478214fba1.zip
gcc-8cea2d67aba7bf4d4551667c39647b478214fba1.tar.gz
gcc-8cea2d67aba7bf4d4551667c39647b478214fba1.tar.bz2
20001012-1.c: Run on all fpic-capable targets.
* 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. From-SVN: r126426
Diffstat (limited to 'gcc/testsuite')
-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 0789496..47233a9 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 061840e..eda69c0 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 df6130d..32dc27c 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 61f1054..d2cf5fe 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 c345068..44b900f 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)