'libgomp.c/target-43.c': '-latomic' for nvptx offloading
... to avoid a regression with recent
commit 090f0d78f1
"openmp: Improve expand_omp_atomic_pipeline":
unresolved symbol __atomic_compare_exchange_1
collect2: error: ld returned 1 exit status
mkoffload: fatal error: [...]/gcc/x86_64-pc-linux-gnu-accel-nvptx-none-gcc returned 1 exit status
libgomp/
* testsuite/libgomp.c/target-43.c: '-latomic' for nvptx offloading.
This commit is contained in:
parent
c0b03afeab
commit
086bb917d6
@ -1,4 +1,6 @@
|
||||
/* { dg-do run } */
|
||||
/* { dg-additional-options "-foffload-options=nvptx-none=-latomic" { target { offload_target_nvptx } } } */
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#define N 32
|
||||
|
Loading…
Reference in New Issue
Block a user