'libgomp.c/target-44.c': Restrict '-latomic' to nvptx offloading compilation
authorThomas Schwinge <thomas@codesourcery.com>
Mon, 17 May 2021 06:05:40 +0000 (08:05 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Tue, 18 May 2021 10:57:35 +0000 (12:57 +0200)
commitabf937ac00e523576ca86957dfa9769281896ca5
tree42f16dfe8f235e23fbaad7061187c52db5129dac
parent03eb779141a29f96600cd46904b88a33c4b49a66
'libgomp.c/target-44.c': Restrict '-latomic' to nvptx offloading compilation

Fix-up for recent commit f87990a2a8fc9e20d30462a0a4c9047582af0cd9
"[openmp, simt] Disable SIMT for user-defined reduction"; see commit
d42088e453042f4f8ba9190a7e29efd937ea2181 "Avoid -latomic for amdgcn
offloading".

libgomp/
* testsuite/libgomp.c/target-44.c: Restrict '-latomic' to nvptx
offloading compilation.
libgomp/testsuite/libgomp.c/target-44.c