aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/tls/diag-3.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index a10aef7..92da799 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2004-01-11 Zack Weinberg <zack@codesourcery.com>
+
+ * gcc.dg/tls/diag-3.c: Tweak dg-error regexp.
+
2004-01-11 Ian Lance Taylor <ian@wasabisystems.com>
PR c++/3478
diff --git a/gcc/testsuite/gcc.dg/tls/diag-3.c b/gcc/testsuite/gcc.dg/tls/diag-3.c
index 89d1bea..f1ce06b 100644
--- a/gcc/testsuite/gcc.dg/tls/diag-3.c
+++ b/gcc/testsuite/gcc.dg/tls/diag-3.c
@@ -1,7 +1,7 @@
/* Report invalid extern and __thread combinations. */
extern int j; /* { dg-error "previous declaration" } */
-__thread int j; /* { dg-error "follows non thread-local" } */
+__thread int j; /* { dg-error "follows non-thread-local" } */
extern __thread int i; /* { dg-error "previous declaration" } */
int i; /* { dg-error "follows thread-local" } */