https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78865
Thomas Koenig <tkoenig at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #9 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Fixed on gcc-8. Applying the patch to gcc-7 leads to FAIL: gfortran.dg/allocatable_dummy_1.f90 -O1 (internal compiler error) and it makes no sense to chase this down. Closing as fixed.