From 871e97f72002d01c3a98f7e198f5dbbcd9157b09 Mon Sep 17 00:00:00 2001
From: Mark Mitchell <mark@codesourcery.com>
Date: Tue, 1 Oct 2002 18:27:33 +0000
Subject: [PATCH] cp

From-SVN: r57695
---
 gcc/testsuite/ChangeLog           | 4 ++++
 gcc/testsuite/g++.dg/tls/init-2.C | 6 +++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 49e7ea2769f4..f65519fb3ce5 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2002-10-01  Mark Mitchell  <mark@codesourcery.com>
+
+	* g++.dg/tls/init-2.C: Tweak error messages.
+
 2002-10-01  Richard Sandiford  <rsandifo@redhat.com>
 
 	* gcc.c-torture/compile/20020923-1.c: New test.
diff --git a/gcc/testsuite/g++.dg/tls/init-2.C b/gcc/testsuite/g++.dg/tls/init-2.C
index 49df50147b30..0fff6f6ab1ec 100644
--- a/gcc/testsuite/g++.dg/tls/init-2.C
+++ b/gcc/testsuite/g++.dg/tls/init-2.C
@@ -1,13 +1,13 @@
 /* Invalid initializations.  */
 
 extern __thread int i;
-__thread int *p = &i;	/* { dg-error "run-time initialization" } */
+__thread int *p = &i;	/* { dg-error "dynamically initialized" } */
 
 extern int f();
-__thread int j = f();	/* { dg-error "run-time initialization" } */
+__thread int j = f();	/* { dg-error "dynamically initialized" } */
 
 struct S
 {
   S();
 };
-__thread S s;		/* { dg-error "run-time initialization" } */
+__thread S s;		/* { dg-error "non-POD" } */
-- 
GitLab