]> git.ipfire.org Git - thirdparty/gcc.git/commit
gfortran.dg/gomp/metadirective-3.f90: xfail on offload_nvptx
authorTobias Burnus <tburnus@baylibre.com>
Tue, 18 Feb 2025 14:48:39 +0000 (15:48 +0100)
committerTobias Burnus <tburnus@baylibre.com>
Tue, 18 Feb 2025 14:48:39 +0000 (15:48 +0100)
commit8d922a80396b0cc9f5311d79aa760412dd018848
treecb15ea0521765c23799c254881064fa344885454
parentc5752c1f01316ac26ec9cf8d171d68aea420a158
gfortran.dg/gomp/metadirective-3.f90: xfail on offload_nvptx

Currently, 'target' with a nested metadirective creating a 'teams' will
fail with a bogus error ("‘target’ construct with nested ‘teams’ construct
contains directives outside of the ‘teams’ construct").
That's tracked at PR118694 - and, hence, expected.

However, the testcase metadirective-3.f90 triggers this when compiling for
'target offload_nvptx' (otherwise, the code is optimized away). Use xfail to
silence the error as it is known and there is a tracking PR.

gcc/testsuite/ChangeLog:

* gfortran.dg/gomp/metadirective-3.f90: Add xfail when
compiling for offload_nvptx.
gcc/testsuite/gfortran.dg/gomp/metadirective-3.f90