https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60928
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |burnus at gcc dot gnu.org --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- This is invalid in OpenMP 3.1, because OpenMP 3.1 doesn't support anything beyond Fortran 95. And in my reading it is also invalid in OpenMP 4.0, because it falls into Allocatable enhancement that is listed as not supported in OpenMP 4.0. So I believe the unsupported part is: - allocatable dummy arguments - allocate statement - transferring an allocation (move_alloc intrinsic) - intrinsic assignment to an allocatable entity - derived type components with allocatable attribute I think all these are meant to be supported in OpenMP 4.1.