https://gcc.gnu.org/g:65bf1a88dc683fb342bfe8d8a749863a38c65a07
commit r16-495-g65bf1a88dc683fb342bfe8d8a749863a38c65a07 Author: Christophe Lyon <christophe.l...@linaro.org> Date: Thu Apr 17 08:33:33 2025 +0000 testsuite: g++.dg/cpp2a/constinit16.C requires tls This test is 'dg-do compile', so require tls instead of tls_runtime. This enables it on targets such as arm-none-eabi configured with --enable-threads=no. gcc/testsuite/ChangeLog: * g++.dg/cpp2a/constinit16.C: Require tls. Diff: --- gcc/testsuite/g++.dg/cpp2a/constinit16.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/g++.dg/cpp2a/constinit16.C b/gcc/testsuite/g++.dg/cpp2a/constinit16.C index dda81d50619e..046e9aa7c6a7 100644 --- a/gcc/testsuite/g++.dg/cpp2a/constinit16.C +++ b/gcc/testsuite/g++.dg/cpp2a/constinit16.C @@ -2,7 +2,7 @@ // { dg-do compile { target c++20 } } // { dg-add-options tls } // { dg-require-alias "" } -// { dg-require-effective-target tls_runtime } +// { dg-require-effective-target tls } // { dg-final { scan-assembler-not "_ZTH17mythreadlocalvar1" } } // { dg-final { scan-assembler "_ZTH17mythreadlocalvar2" } } // { dg-final { scan-assembler-not "_ZTH17mythreadlocalvar3" } }