https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Bug 37336 depends on bug 97122, which changed state.
Bug 97122 Summary: Spurious FINAL ... must be in the specification part of a MODULE https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97122 What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |FIXED