projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e62038
)
testsuite, Darwin, X86 : Add target requires native tls to test.
author
Iain Sandoe
<iain@sandoe.co.uk>
Sun, 8 Nov 2020 09:09:32 +0000
(09:09 +0000)
committer
Iain Sandoe
<iain@sandoe.co.uk>
Sun, 8 Nov 2020 09:09:32 +0000
(09:09 +0000)
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
patch
|
blob
|
history
diff --git
a/gcc/testsuite/gcc.target/i386/builtin_thread_pointer.c
b/gcc/testsuite/gcc.target/i386/builtin_thread_pointer.c
index 16a7ca49b9906d4afd5538653f5f3a7ee9fb74a6..09b704bd5a1d0fa168286e90a12f6e7d5a9fa07d 100644
(file)
--- 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*