aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNathaniel Shead <nathanieloshead@gmail.com>2024-01-19 18:15:22 +1100
committerNathaniel Shead <nathanieloshead@gmail.com>2024-01-24 10:42:03 +1100
commitbf358eaa168a7b967294c1446288e82fe85c2629 (patch)
treeb01b9d543c145f4c445665e74db397e0809c4058 /gcc
parent9010fdba68063beccfbab0aa9ec8739f232ca2f4 (diff)
downloadgcc-bf358eaa168a7b967294c1446288e82fe85c2629.zip
gcc-bf358eaa168a7b967294c1446288e82fe85c2629.tar.gz
gcc-bf358eaa168a7b967294c1446288e82fe85c2629.tar.bz2
testsuite: Disable new test for PR113292 on targets without TLS support
This disables the new test added by r14-8168 on machines that don't have TLS support, such as bare-metal ARM. gcc/testsuite/ChangeLog: * g++.dg/modules/pr113292_c.C: Require TLS. Signed-off-by: Nathaniel Shead <nathanieloshead@gmail.com>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/g++.dg/modules/pr113292_c.C2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/modules/pr113292_c.C b/gcc/testsuite/g++.dg/modules/pr113292_c.C
index aa3f32a..b5acf79 100644
--- a/gcc/testsuite/g++.dg/modules/pr113292_c.C
+++ b/gcc/testsuite/g++.dg/modules/pr113292_c.C
@@ -1,5 +1,7 @@
// PR c++/113292
// { dg-module-do link }
+// { dg-require-effective-target tls_runtime }
+// { dg-add-options tls }
// { dg-additional-options "-fmodules-ts" }
import "pr113292_a.H";