Re: finalization issue

2023-05-04 Thread Steve Kargl via Fortran
Hi Paul, I'll need to go through F2018 again, but I thought I found a statement that a module procedure can be in a submodule. Here's the starting point 14.2.3 Submodules A submodule is a program unit that extends a module or another submodule. ... A submodule may provide implem

Re: finalization issue

2023-05-04 Thread Paul Richard Thomas via Fortran
Hi Steve, Nagfor responds to the test case with "Error: pr97122.f90, line 14: Type T has final subroutines but is not defined in the specification part of a module" F2018: "C787(R753) A final-subroutine-name shall be the name of a module procedure with exactly one dummy argument." Since, of nece

finalization issue

2023-05-03 Thread Steve Kargl via Fortran
All, PR97122 shows an issue with finalization. It seems I attached a diff to the PR in 2020, which allows the code to compile. The diff applied to today's trunk still allows the code to compile but there is now at least 1 regression with finalize_8.f03. Even with my patch, I'm uncertain as to w