testsuite: g++.dg/cpp2a/decomp2.C requires tls_runtime
authorChristophe Lyon <christophe.lyon@linaro.org>
Thu, 17 Apr 2025 07:12:17 +0000 (07:12 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Fri, 9 May 2025 08:45:20 +0000 (08:45 +0000)
Since this test is a 'dg-do run', it requires tls_runtime rather than
just tls.

This makes the test UNSUPPORTED on targets such as arm-non-eabi,
instead of FAIL/UNRESOLVED because __aeabi_read_tp is not provided
(e.g. when GCC is configured with --enable-threads=no.

gcc/testsuite/ChangeLog:

* g++.dg/cpp2a/decomp2.C: Require tls_runtime.

gcc/testsuite/g++.dg/cpp2a/decomp2.C

index c2bfe46976df1b53b3cf42c6b26a444ae9405921..d13f4243045a6eeaced36f3ccd8603c475c56281 100644 (file)
@@ -1,7 +1,7 @@
 // P1091R3
 // { dg-do run { target c++11 } }
 // { dg-options "" }
-// { dg-require-effective-target tls }
+// { dg-require-effective-target tls_runtime }
 // { dg-add-options tls }
 
 namespace std {
This page took 0.066387 seconds and 5 git commands to generate.