On Thu, May 08, 2025 at 03:07:50PM +0200, Christophe Lyon wrote: > Ping? > > Le jeu. 17 avr. 2025, 11:21, Christophe Lyon <christophe.l...@linaro.org> a > écrit : > > > 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.
Ok. > > --- 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" } } Jakub