https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92756
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|ice-on-invalid-code | Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Target Milestone|8.4 |9.3 --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- It used to be invalid in OpenMP 4.5, but is completely valid in OpenMP 5.0. Before the above mentioned change, it was the generic code that used to diagnose it as invalid, but that was removed when C/C++ started supporting it. Easiest is to support in Fortran too, after all, Fortran already gained some OpenMP 5.0 features.