https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77505
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2016-09-07 CC| |kargl at gcc dot gnu.org Ever confirmed|0 |1 --- 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) :: ....].