https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87911
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- In OpenMP 5.0 this got clarified, in C/C++ all expressions with just very few exceptiosn in the grammar in clauses are assignment-expression. I'll change it this week.