https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104573

--- Comment #5 from Steve Kargl <sgk at troutmask dot apl.washington.edu> ---
On Wed, Feb 16, 2022 at 08:32:25PM +0000, anlauf at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104573
> 
> --- Comment #4 from anlauf at gcc dot gnu.org ---
> (In reply to Steve Kargl from comment #3)
> > I'm not sure.  I don't use CLASSes, so only know a bit
> > about them.  If I check F18:7.5.6, I find
> > 
> > C786  (R753) A final-subroutine-name shall be the name of a moduler
> >    procedure with exactly one dummy argument. That argument shall
> >    be nonoptional and shall be a noncoarray, nonpointer, nonallocatable,
> >    *** nonpolymorphic ***
> >    variable of the derived type being defined. All length type
> >    parameters of the dummy argument shall be assumed. The dummy
> >    argument shall not have the INTENT (OUT) or VALUE attribute.
> 
> Steve, there's no finalization referred to in this PR.
> Can you please recheck?
> 

Ah dang.  I conflated PR 104572, to which I just posted a patch,
with this PR.  Your patch is then likely the correct approach.
Sorry about any confusion.

Reply via email to