https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99137
Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #9 from Tobias Burnus <burnus at gcc dot gnu.org> --- FIXED on mainline (GCC 11), GCC 10 and GCC 9. Thanks for the report! As mentioned in the patch review at https://gcc.gnu.org/pipermail/gcc-patches/2021-March/566298.html the issue was discussed in a OpenACC spec meeting (Issue 354) and it was agreed but not yet voted on to use the OpenMP wording (valid assignment-expression). When writing that patch, I tried to find likewise issues with other clauses. Unless I missed one in 'gcc' or 'g++', it seems as if only 'async' was affected.