https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96898
Tom de Vries <vries at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at redhat dot com --- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> --- Hmm, so libatomic needs to fall back onto protect_start and protect_end. It would make sense for the openmp/openacc programs to have that map onto GOMP_start/GOMP_stop. But this introduces a dependency of libatomic on libgomp. Not ideal, I suppose. Maybe we could (at least for the nvptx case) move the global lock out of libgomp into libatomic, and have a dependency of libgomp on libatomic instead.