https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87725
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2018-10-24 Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 44893 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44893&action=edit gcc9-pr87725.patch Well, OpenMP 4.5 Fortran support is unfinished, this is just one of the things. Though, the reason here was just a thinko (nmodifiers == 0 test when nmodifiers == 1 should have been used, because unlike C/C++ FEs it has been bumped already at that point if there was any), the rest of the patch is just better diagnostics and accepting even the bogus cases that I'll make sure to make invalid in OpenMP 5.1.