https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68762
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2016-08-08 Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 39072 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39072&action=edit gcc7-pr68762.patch Untested fix. That said, using #pragma omp declare simd is usually quite pointless on inline functions, those are usually inlined and then there is no point in the declaration.