https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69395
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #4 from kargl at gcc dot gnu.org --- The problem is in decl.c (merge_array_spec). There is no check for rank+corank >= 15. So, gfortran tries merging 2 array specs that exceed the static memory.