testsuite,x86 - require native TLS for two tests that use it.

gcc/testsuite/

2019-05-30  Iain Sandoe  <iain@sandoe.co.uk>

	* gcc.target/i386/pr86257.c: Require native TLS support.
	* gcc.target/i386/stack-prot-sym.c: Likewise.

From-SVN: r271768
This commit is contained in:
Iain Sandoe 2019-05-30 08:43:19 +00:00
parent 7c83619cd6
commit b8148c42da
3 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,9 @@
2019-05-31 Paolo Carlini <paolo.carlini@oracle.com>
2019-05-30 Iain Sandoe <iain@sandoe.co.uk>
* gcc.target/i386/pr86257.c: Require native TLS support.
* gcc.target/i386/stack-prot-sym.c: Likewise.
2019-05-30 Paolo Carlini <paolo.carlini@oracle.com>
* g++.dg/cpp0x/alias-decl-18.C: Test location too.
* g++.dg/cpp0x/udlit-nofunc-neg.C: Likewise.

View File

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

View File

@ -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) { }