Hello!

Recent commit changed various c++ TLS errors. Following patch tweaks
obj-c++ testcase accordingly.

2012-10-11  Uros Bizjak  <ubiz...@gmail.com>

        * obj-c++.dg/tls/init-2.mm: Tweak errors.

Tested on alphaev68-pc-linux-gnu, committed to mainline SVN.

Uros.
Index: obj-c++.dg/tls/init-2.mm
===================================================================
--- obj-c++.dg/tls/init-2.mm    (revision 192347)
+++ obj-c++.dg/tls/init-2.mm    (working copy)
@@ -2,13 +2,13 @@
 /* { dg-require-effective-target tls } */
 
 extern __thread int i;
-__thread int *p = &i;   /* { dg-error "dynamically initialized" } */
+__thread int *p = &i;  /* { dg-error "dynamic initialization" } */
 
 extern int f();
-__thread int j = f();   /* { dg-error "dynamically initialized" } */
+__thread int j = f();  /* { dg-error "dynamic initialization" } */
 
 struct S
 {
   S();
 };
-__thread S s;           /* { dg-error "" } two errors here */
+__thread S s;          /* { dg-error "dynamic initialization" } */

Reply via email to