https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56386
Paul Thomas <pault at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pault at gcc dot gnu.org
Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org
--- Comment #8 from Paul Thomas <pault at gcc dot gnu.org> ---
Created attachment 44838
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44838&action=edit
A patch for the original problem
The attached does the job on the original problem. I will wait until the fix
for PR87566 is committed before submitting this one.
With respect to the problem in comment #2: This one is really tough because the
type of the function f() has not been determined since it is contained. Either
we have to change the parsing sequence such that a CONTAINS statement is
searched for and the the contained procedures parsed or we look for a derived
type with the component name and set the symbol type accordingly. Even if it is
a bit desperate, the latter is certainly doable.
Paul