https://gcc.gnu.org/g:a761ec59cdacb9b290ade29335048bd1b1dd984f
commit r16-5881-ga761ec59cdacb9b290ade29335048bd1b1dd984f Author: Jakub Jelinek <[email protected]> Date: Thu Dec 4 11:26:10 2025 +0100 testsuite: Add tls runtime directives to decomp18.C [PR122983] I haven't added the needed dg- directives to decomp18.C test which uses thread_local and is a dg-do run test. This adds those. 2025-12-03 Jakub Jelinek <[email protected]> PR target/122983 * g++.dg/cpp26/decomp18.C: Add dg-add-options tls and dg-require-effective-target tls_runtime directives. Diff: --- gcc/testsuite/g++.dg/cpp26/decomp18.C | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/testsuite/g++.dg/cpp26/decomp18.C b/gcc/testsuite/g++.dg/cpp26/decomp18.C index 86b9bf433223..68dae3f223f6 100644 --- a/gcc/testsuite/g++.dg/cpp26/decomp18.C +++ b/gcc/testsuite/g++.dg/cpp26/decomp18.C @@ -1,6 +1,8 @@ // P1061R10 - Structured Bindings can introduce a Pack // { dg-do run { target c++11 } } // { dg-options "" } +// { dg-add-options tls } +// { dg-require-effective-target tls_runtime } struct S { int a, b, c; }; namespace std {
