https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86051
--- Comment #3 from Daniel Bershatsky <daniel.bershatsky at skolkovotech dot ru> --- (In reply to Dominique d'Humieres from comment #2) > > This may have been fixed by a patch I submitted today. > > I confirmed that the PR is fixed by the patch at > > https://gcc.gnu.org/ml/fortran/2018-06/msg00013.html That's great! I will check it out by myself and will be back. Will this patch be applyed to gfortran branches 6.*, 7.*, and 8.*? If it were not I would like to get a guidance how to avoid the issue. There are lots of users who are using these obsolete fortran versions.