https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93599
--- Comment #6 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- Forgot to mention. Did you test with or without Janne's patch here: https://gcc.gnu.org/ml/fortran/2020-01/msg00158.html It could be related or influence this.