https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85836 Bug 85836 depends on bug 78640, which changed state.
Bug 78640 Summary: [F2018] gfortran accepts invalid allocatable polymorphic result in pure function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78640 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED
