https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119102
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- We're taking the non-OpenMP branch there, but the error from GCC seems to be incorrectly referring to OpenMP. The docs for attribute simd say: If the attribute is specified and #pragma omp declare simd is present on a declaration and the -fopenmp or -fopenmp-simd switch is specified, then the attribute is ignored.