From 94b74e7aca839d45482ebac2be3031fe365df32e Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Sun, 8 Nov 2020 09:09:32 +0000 Subject: [PATCH] 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. --- gcc/testsuite/gcc.target/i386/builtin_thread_pointer.c | 1 + 1 file changed, 1 insertion(+) 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* -- 2.30.2