https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65467

--- Comment #12 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Actually, firstprivate on _Atomic vars in target construct could be implemented
just by forcing it into a temporary with non-_Atomic qualified type on the host
side (i.e. atomically loading it), firstprivatizing such temporary instead of
the original _Atomic variable, privatizing the _Atomic variable instead and
then assigning the privatized var the temporary's firstprivatized copy in the
target code.  Not going to implement it unless it gets standardized though.

Reply via email to