This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

fix tls/diag-3.c


        * 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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]