https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85836 Bug 85836 depends on bug 106035, which changed state.
Bug 106035 Summary: F2018 allows an IMPORT statement within the BLOCK construct. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106035 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED