From: Jakub Jelinek Date: Thu, 4 Dec 2025 10:26:10 +0000 (+0100) Subject: testsuite: Add tls runtime directives to decomp18.C [PR122983] X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a761ec59cdacb9b290ade29335048bd1b1dd984f;p=thirdparty%2Fgcc.git 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 PR target/122983 * g++.dg/cpp26/decomp18.C: Add dg-add-options tls and dg-require-effective-target tls_runtime directives. --- diff --git a/gcc/testsuite/g++.dg/cpp26/decomp18.C b/gcc/testsuite/g++.dg/cpp26/decomp18.C index 86b9bf43322..68dae3f223f 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 {