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

Submitted by Uros Bizjak on Oct. 11, 2012, 7:10 a.m.

Details

Message ID CAFULd4Z9HrpZJHtmHn384kMzfuGeX93XmAx4REiAynKE5K5dkw@mail.gmail.com
State New
Headers show

Commit Message

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 hide | download patch | download mbox

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