https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66053
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- this is in OpenMP 4.1 only allowed in #pragma omp declare simd clauses, not anywhere else (it is not a variable in the language). It might change in OpenMP 5.0.