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.
> ---
>  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 dda81d50619..046e9aa7c6a 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" } }
> --
> 2.34.1
>
>

Reply via email to