https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72714
Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tkoenig at gcc dot gnu.org --- Comment #6 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- This part of resolve_allocate_expr if (codimension) for (i = ar->dimen; i < ar->dimen + ar->codimen; i++) if (ar->dimen_type[i] == DIMEN_THIS_IMAGE) { gfc_error ("Coarray specification required in ALLOCATE statement " "at %L", &e->where); goto failure; } needs a few more checks.