https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83093
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kargl at gcc dot gnu.org --- Comment #3 from kargl at gcc dot gnu.org --- (In reply to G. Steinmetz from comment #0) > With invalid code, down to at least 4.8 : > > > $ cat z1.f90 > program p > character(:), allocatable :: z > allocate (character(a) :: z) > end > > This appears to be a case where the individual who wrote match.c(gfc_match_type_spec) overlooked that one needs to check for a valid length_selector.