https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94030
kargl at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kargl at gcc dot gnu.org
--- Comment #4 from kargl at gcc dot gnu.org ---
(In reply to markeggleston from comment #3)
> A patch from Steve Kargl was sent to the fortran mailing list, (see
> https://gcc.gnu.org/pipermail/fortran/2020-March/054130.html) without
> reference to any PR.
>
> It appeared to be related to this PR. I have verified the patch and also
> checked it with the test case in the original report.
Techinically, it is related to
https://stackoverflow.com/questions/60846187/fortran-equivalence-statement-with-array-length-from-subroutine-input
In the stackoverflow thread, someone mentioned this is a regression going back
to at least 6.5.