OSDN Git Service

cp
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Oct 2002 18:27:33 +0000 (18:27 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Oct 2002 18:27:33 +0000 (18:27 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57695 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 49e7ea2..f65519f 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 49df501..0fff6f6 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" } */