https://gcc.gnu.org/g:dd1ee31540bd3eaca5441dc815ea9284bcc09af3

commit r16-494-gdd1ee31540bd3eaca5441dc815ea9284bcc09af3
Author: Christophe Lyon <christophe.l...@linaro.org>
Date:   Thu Apr 17 07:12:17 2025 +0000

    testsuite: g++.dg/cpp2a/decomp2.C requires tls_runtime
    
    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.

Diff:
---
 gcc/testsuite/g++.dg/cpp2a/decomp2.C | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/g++.dg/cpp2a/decomp2.C 
b/gcc/testsuite/g++.dg/cpp2a/decomp2.C
index c2bfe46976df..d13f4243045a 100644
--- a/gcc/testsuite/g++.dg/cpp2a/decomp2.C
+++ b/gcc/testsuite/g++.dg/cpp2a/decomp2.C
@@ -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 {

Reply via email to