https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81195
--- Comment #8 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- (In reply to Jim Wilson from comment #7) > I have reproduced the same problem from the gcc-7 branch. I fully expect this bug to be in all active branches of gfortran. We should commit a fix to all of them.