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] |
Three recent TLS execution tests didn't use dg-add-options tls, which caused them to fail on Solaris 8 and 9. The following patch fixes this. Tested on i386-pc-solaris2.9 with the appropriate runtest invocations. Installed as obvious. Rainer 2010-08-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> * gcc.dg/tls/thr-init-2.c: Use dg-add-options tls. * gcc.dg/torture/tls/thr-init-1.c: Likewise. * gcc.dg/torture/tls/thr-init-2.c: Likewise. diff -r 0cf77b5772bf gcc/testsuite/gcc.dg/tls/thr-init-2.c --- a/gcc/testsuite/gcc.dg/tls/thr-init-2.c Mon Aug 23 13:25:29 2010 +0200 +++ b/gcc/testsuite/gcc.dg/tls/thr-init-2.c Thu Aug 26 17:44:58 2010 +0200 @@ -1,5 +1,6 @@ /* { dg-require-effective-target tls } */ /* { dg-do run } */ +/* { dg-add-options tls } */ extern void abort() ; diff -r 0cf77b5772bf gcc/testsuite/gcc.dg/torture/tls/thr-init-1.c --- a/gcc/testsuite/gcc.dg/torture/tls/thr-init-1.c Mon Aug 23 13:25:29 2010 +0200 +++ b/gcc/testsuite/gcc.dg/torture/tls/thr-init-1.c Thu Aug 26 17:44:58 2010 +0200 @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-require-effective-target tls } */ +/* { dg-add-options tls } */ extern int printf (char *,...); extern void abort() ; diff -r 0cf77b5772bf gcc/testsuite/gcc.dg/torture/tls/thr-init-2.c --- a/gcc/testsuite/gcc.dg/torture/tls/thr-init-2.c Mon Aug 23 13:25:29 2010 +0200 +++ b/gcc/testsuite/gcc.dg/torture/tls/thr-init-2.c Thu Aug 26 17:44:58 2010 +0200 @@ -1,5 +1,6 @@ /* { dg-do run } */ /* { dg-require-effective-target tls } */ +/* { dg-add-options tls } */ extern int printf (char *,...); extern void abort() ; -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |