On Mon, Jan 12, 2026 at 10:16:19AM +0100, Rainer Orth wrote:
> 2025-12-16  Rainer Orth  <[email protected]>
> 
>       libgomp:
>       PR c++/81337
>       * testsuite/libgomp.c++/target-cdtor-2.C: Skip on Solaris.
>       Fix comments.

LGTM, thanks.

> # HG changeset patch
> # Parent  08ef12c32aac0de955f2bae818debf33a345502d
> libgomp: xfail libgomp.c++/target-cdtor-2.C on Solaris [PR81337]
> 
> diff --git a/libgomp/testsuite/libgomp.c++/target-cdtor-2.C 
> b/libgomp/testsuite/libgomp.c++/target-cdtor-2.C
> --- a/libgomp/testsuite/libgomp.c++/target-cdtor-2.C
> +++ b/libgomp/testsuite/libgomp.c++/target-cdtor-2.C
> @@ -1,10 +1,12 @@
>  /* Offloaded 'constructor' and 'destructor' functions, and C++ objects 
> construction and destruction.  */
>  
>  /* { dg-require-effective-target init_priority } */
> +/* { dg-skip-if "PR c++/81337: destructor ordering" { *-*-solaris2* } } */
>  
> -/* { dg-additional-options -fdump-tree-optimized-raw-asmname }
> -   { dg-additional-options 
> -foffload-options=-fdump-tree-optimized-raw-asmname } */
> -// { dg-additional-options "-Wno-deprecated-openmp" }
> +/* { dg-additional-options -fdump-tree-optimized-raw-asmname } */
> +/* { dg-additional-options 
> -foffload-options=-fdump-tree-optimized-raw-asmname } */
> +/* { dg-additional-options "-Wno-deprecated-openmp" } */
> +
>  #include <omp.h>
>  #include <vector>
>  


        Jakub

Reply via email to