https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97122
--- Comment #11 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Paul Thomas <pa...@gcc.gnu.org>: https://gcc.gnu.org/g:056280dea422ba831e40dee9e6769862927998c6 commit r14-1081-g056280dea422ba831e40dee9e6769862927998c6 Author: Paul Thomas <pa...@gcc.gnu.org> Date: Tue May 23 06:33:44 2023 +0100 Fortran: Allow declaration of finalizable DT in a submodule [PR97122] 2023-05-23 Paul Thomas <pa...@gcc.gnu.org> Steven G. Kargl <ka...@gcc.gnu.org> gcc/fortran PR fortran/97122 * decl.cc (variable_decl): Clean up white space issues. (gfc_match_final_decl): Declaration of finalizable derived type is allowed in a submodule. gcc/testsuite/ PR fortran/97122 * gfortran.dg/finalize_8.f03 : Replace testcase that checks declaration of finalizable derived types in submodules works.