https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83999
--- Comment #8 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- For some reason, the array spec is not set for the symbol for z1.f90: (gdb) p sym->as $11 = (gfc_array_spec *) 0x0 (gdb) p sym->name $12 = 0x7ffff734d0b8 "f" (with a breakpoint in resolve_fl_procedure).