https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78226
--- Comment #8 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- It appears that the patch at https://gcc.gnu.org/ml/fortran/2016-12/msg00040.html actually catches more errors than the original one. So, more cases to find... Nice thing is, one fix can fix quite a large number of test cases.