Patchwork [testsuite] : Tweak obj-c++ TLS errors

login
register
mail settings
Submitter Uros Bizjak
Date Oct. 11, 2012, 7:10 a.m.
Message ID <CAFULd4Z9HrpZJHtmHn384kMzfuGeX93XmAx4REiAynKE5K5dkw@mail.gmail.com>
Download mbox | patch
Permalink /patch/190820/
State New
Headers show

Comments

Uros Bizjak - Oct. 11, 2012, 7:10 a.m.
Hello!

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

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

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

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

Uros.

Patch

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" } */