https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101728
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-08-09
Status|UNCONFIRMED |NEW
CC| |anlauf at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #2 from anlauf at gcc dot gnu.org ---
(In reply to Richard Biener from comment #1)
> So it looks like gfortran calls the nested 's' from 'u' which of course is
> invalid?
Right.
But interchanging the order of subroutines u and v seems to resolve the issue.
Possibly a namespace issue?