https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109684
Paul Thomas <pault at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org
Last reconfirmed| |2023-05-23
Ever confirmed|0 |1
--- Comment #5 from Paul Thomas <pault at gcc dot gnu.org> ---
Created attachment 55144
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55144&action=edit
Fix for this PR
Thanks for reporting this. The patch "fingered" in comment #4 is certainly
responsible for this regression. In particular, it is the first chunk in
resolve.cc that is the culprit.
The attached patch feels to be a bit of sticking plaster on top of sticking
plaster and so I will go back to hunt down the root cause of these
namespace-less symbols.
I fear that you will have to make your procedures impure for the time being or,
if you don't need the added finalization features, revert to a previous version
of gfortran.
Regards and apologies for the inconvenience.
Paul