public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* fix tls/diag-3.c
@ 2002-08-14 17:16 Richard Henderson
  0 siblings, 0 replies; only message in thread
From: Richard Henderson @ 2002-08-14 17:16 UTC (permalink / raw)
  To: gcc-patches

        * gcc.dg/tls/diag-3.c: Fix expected message strings.

Index: gcc.dg/tls/diag-3.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/tls/diag-3.c,v
retrieving revision 1.1
diff -c -p -d -u -r1.1 diag-3.c
--- gcc.dg/tls/diag-3.c	7 Aug 2002 01:25:01 -0000	1.1
+++ gcc.dg/tls/diag-3.c	15 Aug 2002 00:15:28 -0000
@@ -1,10 +1,10 @@
 /* Report invalid extern and __thread combinations.  */
 
 extern int j;		/* { dg-error "previous declaration" } */
-__thread int j;		/* { dg-error "thread-local declaration for" } */
+__thread int j;		/* { dg-error "follows non thread-local" } */
 
 extern __thread int i;	/* { dg-error "previous declaration" } */
-int i;			/* { dg-error "non thread-local" } */
+int i;			/* { dg-error "follows thread-local" } */
 
 extern __thread int k;	/* This is fine.  */
 __thread int k;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-08-15  0:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-14 17:16 fix tls/diag-3.c Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).