From: Iain Sandoe Date: Thu, 30 May 2019 08:43:19 +0000 (+0000) Subject: testsuite,x86 - require native TLS for two tests that use it. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b8148c42da02357784830917421d6091fbe69a83;p=gcc.git testsuite,x86 - require native TLS for two tests that use it. gcc/testsuite/ 2019-05-30 Iain Sandoe * gcc.target/i386/pr86257.c: Require native TLS support. * gcc.target/i386/stack-prot-sym.c: Likewise. From-SVN: r271768 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f25e181bfbf..92679459857 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,4 +1,9 @@ -2019-05-31 Paolo Carlini +2019-05-30 Iain Sandoe + + * gcc.target/i386/pr86257.c: Require native TLS support. + * gcc.target/i386/stack-prot-sym.c: Likewise. + +2019-05-30 Paolo Carlini * g++.dg/cpp0x/alias-decl-18.C: Test location too. * g++.dg/cpp0x/udlit-nofunc-neg.C: Likewise. diff --git a/gcc/testsuite/gcc.target/i386/pr86257.c b/gcc/testsuite/gcc.target/i386/pr86257.c index 07fbba92d65..bc758c24d0c 100644 --- a/gcc/testsuite/gcc.target/i386/pr86257.c +++ b/gcc/testsuite/gcc.target/i386/pr86257.c @@ -1,6 +1,6 @@ /* { dg-require-effective-target lp64 } */ /* { dg-require-effective-target fpic } */ -/* { dg-require-effective-target tls } */ +/* { dg-require-effective-target tls_native } */ /* { dg-options "-g -fPIC -mtls-dialect=gnu" } */ __thread int i; diff --git a/gcc/testsuite/gcc.target/i386/stack-prot-sym.c b/gcc/testsuite/gcc.target/i386/stack-prot-sym.c index 7f63424c55f..dcd7cbd38be 100644 --- a/gcc/testsuite/gcc.target/i386/stack-prot-sym.c +++ b/gcc/testsuite/gcc.target/i386/stack-prot-sym.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target tls_native } */ /* { dg-options "-O2 -fstack-protector-all -mstack-protector-guard=tls -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=my_guard" } */ void f(void) { }