https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77505
--- Comment #2 from Steve Kargl <sgk at troutmask dot apl.washington.edu> --- On Wed, Sep 07, 2016 at 07:01:40PM +0000, kargl at gcc dot gnu.org wrote: > --- Comment #1 from kargl at gcc dot gnu.org --- > This is going to require someone smarting than I to fix. > The problem lies in trans-array.c (get_array_ctor_strlen). > This function walks the elments of the array constructor > looking for the string length. It nave takes into account > the type spec in [character(len=ii) :: ....]. s/nave/never Note, the problem may actually be in some other function that calls get_array_ctor_strlen, because this function never have been called!