https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90800
kargl at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |kargl at gcc dot gnu.org Resolution|--- |INVALID --- Comment #1 from kargl at gcc dot gnu.org --- The code is invalid Fortran. The first time you enter the do-loop 'x' is an unallocated deferred length string. Thus when 'i = 1', the expression 'x = x/achar(i)' references an undefined variable.