Adjust 'libgomp.c-c++-common/requires-3.c'
As documented, this one does "Check diagnostic by device-compiler's lto1".
Indeed there are none when compiling with '-foffload=disable' with an
offloading-enabled compiler, so we should use 'offload_target_[...]', as
used in other similar test cases.
Follow-up to recent commit 683f118439
"OpenMP: Move omp requires checks to libgomp".
libgomp/
* testsuite/libgomp.c-c++-common/requires-3.c: Adjust.
This commit is contained in:
parent
8bc2439437
commit
99831ceb87
@ -1,4 +1,4 @@
|
||||
/* { dg-do link { target offloading_enabled } } */
|
||||
/* { dg-do link { target { offload_target_nvptx || offload_target_amdgcn } } } */
|
||||
/* { dg-additional-sources requires-3-aux.c } */
|
||||
|
||||
/* Check diagnostic by device-compiler's lto1.
|
||||
|
Loading…
Reference in New Issue
Block a user