https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113904
--- Comment #13 from sandra at gcc dot gnu.org --- Leaving this open as we don't have another issue tracking the remaining issues noted in Comment 9: parsing non-constant expressions in the right scope in the Fortran front end, and allowing dynamic selectors in "declare variant" to reference parameters of the base function declaration by name.