From: Iain Sandoe Date: Sun, 8 Nov 2020 09:09:32 +0000 (+0000) Subject: testsuite, Darwin, X86 : Add target requires native tls to test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=94b74e7aca839d45482ebac2be3031fe365df32e;p=gcc.git testsuite, Darwin, X86 : Add target requires native tls to test. The builtin_thread_pointer test does not work for emulated TLS. Add a target requires to cover this. gcc/testsuite/ChangeLog: * gcc.target/i386/builtin_thread_pointer.c: Require native TLS. --- diff --git a/gcc/testsuite/gcc.target/i386/builtin_thread_pointer.c b/gcc/testsuite/gcc.target/i386/builtin_thread_pointer.c index 16a7ca49b99..09b704bd5a1 100644 --- a/gcc/testsuite/gcc.target/i386/builtin_thread_pointer.c +++ b/gcc/testsuite/gcc.target/i386/builtin_thread_pointer.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target tls_native } */ /* { dg-options "-mtls-direct-seg-refs -O2 -masm=att" } */ int*