cp
authorMark Mitchell <mark@codesourcery.com>
Tue, 1 Oct 2002 18:27:33 +0000 (18:27 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 1 Oct 2002 18:27:33 +0000 (18:27 +0000)
From-SVN: r57695

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tls/init-2.C

index 49e7ea2769f433c39d91dfebb4746ed5d2fc9c23..f65519fb3ce54a0537d736f15595f54ea35a3eb3 100644 (file)
@@ -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.
index 49df50147b30a41dc6a29110c4e947f6c35f4aad..0fff6f6ab1eccfe2a89a026477f5e1267c82fb63 100644 (file)
@@ -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" } */