aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog11
-rw-r--r--gcc/testsuite/gcc.dg/tls/thr-init-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/tls/thr-init-2.c2
-rw-r--r--gcc/testsuite/gcc.dg/torture/tls/thr-init-1.c2
-rw-r--r--gcc/testsuite/gcc.dg/torture/tls/thr-init-2.c2
-rw-r--r--gcc/testsuite/objc.dg/torture/tls/thr-init-2.m2
-rw-r--r--gcc/testsuite/objc.dg/torture/tls/thr-init-3.m2
-rw-r--r--gcc/testsuite/objc.dg/torture/tls/thr-init.m2
8 files changed, 18 insertions, 7 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index c3c75b2..d6c9598 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,5 +1,16 @@
2010-10-31 Richard Sandiford <rdsandiford@googlemail.com>
+ * gcc.dg/tls/thr-init-1.c: Fix order of dg-do.
+ * gcc.dg/tls/thr-init-2.c: Likewise. Require tls_runtime rather
+ than tls.
+ * gcc.dg/torture/tls/thr-init-1.c: Require tls_runtime rather than tls.
+ * gcc.dg/torture/tls/thr-init-2.c: Likewise.
+ * objc.dg/torture/tls/thr-init.m: Likewise.
+ * objc.dg/torture/tls/thr-init-2.m: Likewise.
+ * objc.dg/torture/tls/thr-init-3.m: Likewise.
+
+2010-10-31 Richard Sandiford <rdsandiford@googlemail.com>
+
* gcc.c-torture/execute/20101011-1.c: Skip for MIPS unless running
the Linux kernel.
diff --git a/gcc/testsuite/gcc.dg/tls/thr-init-1.c b/gcc/testsuite/gcc.dg/tls/thr-init-1.c
index de273d9..eb2f846 100644
--- a/gcc/testsuite/gcc.dg/tls/thr-init-1.c
+++ b/gcc/testsuite/gcc.dg/tls/thr-init-1.c
@@ -1,5 +1,5 @@
-/* { dg-require-effective-target tls } */
/* { dg-do compile } */
+/* { dg-require-effective-target tls } */
static __thread int fstat ;
static __thread int fstat = 1 ;
diff --git a/gcc/testsuite/gcc.dg/tls/thr-init-2.c b/gcc/testsuite/gcc.dg/tls/thr-init-2.c
index ebc512f..22c96ea 100644
--- a/gcc/testsuite/gcc.dg/tls/thr-init-2.c
+++ b/gcc/testsuite/gcc.dg/tls/thr-init-2.c
@@ -1,5 +1,5 @@
-/* { dg-require-effective-target tls } */
/* { dg-do run } */
+/* { dg-require-effective-target tls_runtime } */
/* { dg-add-options tls } */
extern void abort() ;
diff --git a/gcc/testsuite/gcc.dg/torture/tls/thr-init-1.c b/gcc/testsuite/gcc.dg/torture/tls/thr-init-1.c
index 76dc62a..ff3338f 100644
--- a/gcc/testsuite/gcc.dg/torture/tls/thr-init-1.c
+++ b/gcc/testsuite/gcc.dg/torture/tls/thr-init-1.c
@@ -1,5 +1,5 @@
/* { dg-do run } */
-/* { dg-require-effective-target tls } */
+/* { dg-require-effective-target tls_runtime } */
/* { dg-add-options tls } */
extern int printf (char *,...);
diff --git a/gcc/testsuite/gcc.dg/torture/tls/thr-init-2.c b/gcc/testsuite/gcc.dg/torture/tls/thr-init-2.c
index bef1d28..4415623 100644
--- a/gcc/testsuite/gcc.dg/torture/tls/thr-init-2.c
+++ b/gcc/testsuite/gcc.dg/torture/tls/thr-init-2.c
@@ -1,5 +1,5 @@
/* { dg-do run } */
-/* { dg-require-effective-target tls } */
+/* { dg-require-effective-target tls_runtime } */
/* { dg-add-options tls } */
extern int printf (char *,...);
diff --git a/gcc/testsuite/objc.dg/torture/tls/thr-init-2.m b/gcc/testsuite/objc.dg/torture/tls/thr-init-2.m
index 04231a8..cdbef4d 100644
--- a/gcc/testsuite/objc.dg/torture/tls/thr-init-2.m
+++ b/gcc/testsuite/objc.dg/torture/tls/thr-init-2.m
@@ -1,5 +1,5 @@
// { dg-do run }
-// { dg-require-effective-target tls }
+// { dg-require-effective-target tls_runtime }
// { dg-add-options tls }
extern void _exit(int);
diff --git a/gcc/testsuite/objc.dg/torture/tls/thr-init-3.m b/gcc/testsuite/objc.dg/torture/tls/thr-init-3.m
index 9f354b3..b52c873 100644
--- a/gcc/testsuite/objc.dg/torture/tls/thr-init-3.m
+++ b/gcc/testsuite/objc.dg/torture/tls/thr-init-3.m
@@ -1,5 +1,5 @@
/* { dg-do run } */
-/* { dg-require-effective-target tls } */
+/* { dg-require-effective-target tls_runtime } */
/* { dg-add-options tls } */
/* { dg-xfail-run-if "Needs OBJC2 ABI" { *-*-darwin* && { lp64 && { ! objc2 } } } { "-fnext-runtime" } { "" } } */
/* { dg-additional-sources "../../../objc-obj-c++-shared/Object1.m" } */
diff --git a/gcc/testsuite/objc.dg/torture/tls/thr-init.m b/gcc/testsuite/objc.dg/torture/tls/thr-init.m
index 6639651..986b425 100644
--- a/gcc/testsuite/objc.dg/torture/tls/thr-init.m
+++ b/gcc/testsuite/objc.dg/torture/tls/thr-init.m
@@ -1,5 +1,5 @@
/* { dg-do run } */
-/* { dg-require-effective-target tls } */
+/* { dg-require-effective-target tls_runtime } */
/* { dg-add-options tls } */
extern void _exit(int);