]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
xfail libgomp.c/declare-variant-4-{fiji,gfx803}.c
authorTobias Burnus <tburnus@baylibre.com>
Mon, 22 Jan 2024 16:56:36 +0000 (17:56 +0100)
committerTobias Burnus <tburnus@baylibre.com>
Mon, 22 Jan 2024 16:56:36 +0000 (17:56 +0100)
Since r14-4734-g56ed1055b2f40ac162ae8d382280ac07a33f789f, GCC no longer
builds the Fiji (alias gfx803) libraries by default as support for it was
removed in ROCm 4.0 and will be removed in LLVM 18.

Thus, unless gfx803 is explicitly enabled, the following testcases will
fail to link as libgomp is not available for Fiji. Hence, this commit
xfails those testcases.

libgomp/ChangeLog:

* testsuite/libgomp.c/declare-variant-4-fiji.c: Xfail as fiji
support is no longer enabled by default.
* testsuite/libgomp.c/declare-variant-4-gfx803.c: Likewise.

Signed-off-by: Tobias Burnus <tburnus@baylibre.com>
libgomp/testsuite/libgomp.c/declare-variant-4-fiji.c
libgomp/testsuite/libgomp.c/declare-variant-4-gfx803.c

index a138fb092f8276606b83d98ed572168c9fc2f92e..654f9bc655c23c7d75ae7e704551f4d1e22ed7d1 100644 (file)
@@ -3,6 +3,8 @@
 /* { dg-additional-options -foffload=-march=fiji } */
 /* { dg-additional-options "-foffload=-fdump-tree-optimized" } */
 
+/* { dg-xfail-if "fiji/gfx803 is no longer enabled by default & deprectated in ROCm/LLVM/GCC" { *-*-* } } */
+
 #define USE_FIJI_FOR_GFX803
 #include "declare-variant-4.h"
 
index 03dffddac49588d750d289c67c14d27cc07a6c67..b447631e52e662eb8a0eed6b28f7914e137beb4b 100644 (file)
@@ -3,6 +3,8 @@
 /* { dg-additional-options -foffload=-march=fiji } */
 /* { dg-additional-options "-foffload=-fdump-tree-optimized" } */
 
+/* { dg-xfail-if "fiji/gfx803 is no longer enabled by default & deprectated in ROCm/LLVM/GCC" { *-*-* } } */
+
 #include "declare-variant-4.h"
 
 /* { dg-final { only_for_offload_target amdgcn-amdhsa scan-offload-tree-dump "= gfx803 \\(\\);" "optimized" } } */