https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20585 Bug 20585 depends on bug 60777, which changed state.
Bug 60777 Summary: [F03] RECURSIVE function rejected in specification expression https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60777 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED