Hi!

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.

Bootstrapped/regtested on x86_64-linux and i686-linux and Christophe tested
it on arm, committed to trunk as obvious.

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.

--- gcc/testsuite/g++.dg/cpp26/decomp18.C.jj    2025-08-08 09:16:19.409807999 
+0200
+++ gcc/testsuite/g++.dg/cpp26/decomp18.C       2025-12-03 17:07:34.147816357 
+0100
@@ -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 {

        Jakub

Reply via email to