Add xfails to libgomp tests target-{33,34}.c, target-link-1.c

Add xfails for nvptx offloading because
"no GOMP_OFFLOAD_async_run implemented in plugin-nvptx.c"
(https://gcc.gnu.org/PR81688) and because
"omp target link not implemented for nvptx"
(https://gcc.gnu.org/PR81689).

libgomp/
	* testsuite/libgomp.c/target-33.c: Add xfail for execution on
	offload_target_nvptx, cf. https://gcc.gnu.org/PR81688.
	* testsuite/libgomp.c/target-34.c: Likewise.
	* testsuite/libgomp.c/target-link-1.c: Add xfail for
	offload_target_nvptx, cf. https://gcc.gnu.org/PR81689.
This commit is contained in:
Frederik Harwath 2020-02-10 08:08:00 +01:00
parent a5f79f225e
commit fd789c816b
4 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,12 @@
2020-02-10 Frederik Harwath <frederik@codesourcery.com>
* testsuite/libgomp.c/target-33.c: Add xfail for execution on
offload_target_nvptx, cf. https://gcc.gnu.org/PR81688.
* testsuite/libgomp.c/target-34.c: Likewise.
* testsuite/libgomp.c/target-link-1.c: Add xfail for
offload_target_nvptx, cf. https://gcc.gnu.org/PR81689.
2020-02-09 Jakub Jelinek <jakub@redhat.com>
* testsuite/libgomp.c/target-38.c: New test.

View File

@ -1,3 +1,6 @@
/* { dg-xfail-run-if "GOMP_OFFLOAD_async_run not implemented" { offload_target_nvptx } }
Cf. https://gcc.gnu.org/PR81688. */
extern void abort (void);
int

View File

@ -1,3 +1,6 @@
/* { dg-xfail-run-if "GOMP_OFFLOAD_async_run not implemented" { offload_target_nvptx } }
Cf. https://gcc.gnu.org/PR81688. */
extern void abort (void);
int

View File

@ -1,3 +1,6 @@
/* { dg-xfail-if "#pragma omp target link not implemented" { offload_target_nvptx } }
Cf. https://gcc.gnu.org/PR81689. */
struct S { int s, t; };
int a = 1, b = 1;