aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/tls/diag-3.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index e9fd927..69a99ff 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2002-08-14 Richard Henderson <rth@redhat.com>
+
+ * gcc.dg/tls/diag-3.c: Fix expected message strings.
+
2002-08-14 Neil Booth <neil@daikokuya.co.uk>
* gcc.dg/cpp/_Pragma3.c: New test.
diff --git a/gcc/testsuite/gcc.dg/tls/diag-3.c b/gcc/testsuite/gcc.dg/tls/diag-3.c
index c23b141..89d1bea 100644
--- a/gcc/testsuite/gcc.dg/tls/diag-3.c
+++ b/gcc/testsuite/gcc.dg/tls/diag-3.c
@@ -1,10 +1,10 @@
/* Report invalid extern and __thread combinations. */
extern int j; /* { dg-error "previous declaration" } */
-__thread int j; /* { dg-error "thread-local declaration for" } */
+__thread int j; /* { dg-error "follows non thread-local" } */
extern __thread int i; /* { dg-error "previous declaration" } */
-int i; /* { dg-error "non thread-local" } */
+int i; /* { dg-error "follows thread-local" } */
extern __thread int k; /* This is fine. */
__thread int k;