https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78866
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The parallel isn't needed, and we ICE both explicitly mapped and implicitly mapped assumed-size arrays. This is a bug in the standard, it doesn't restrict mapping from mapping assumed-size arrays, even when they actually can't be mapped (because the size is not known). At least the definition of mappable type for Fortran does not exclude assumed-size arrays, and they aren't listed as disallowed.