]> gcc.gnu.org Git - gcc.git/commit
Fortran: Allow declaration of finalizable DT in a submodule [PR97122]
authorPaul Thomas <pault@gcc.gnu.org>
Tue, 23 May 2023 05:33:44 +0000 (06:33 +0100)
committerPaul Thomas <pault@gcc.gnu.org>
Tue, 23 May 2023 05:33:44 +0000 (06:33 +0100)
commit056280dea422ba831e40dee9e6769862927998c6
treeb810fa5bb1022e50e830e602e4b2676d46e47596
parentc5300bf3110b44e2742b36f49c2a380abd08d9c5
Fortran: Allow declaration of finalizable DT in a submodule [PR97122]

2023-05-23  Paul Thomas  <pault@gcc.gnu.org>
    Steven G. Kargl  <kargl@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.
gcc/fortran/decl.cc
gcc/testsuite/gfortran.dg/finalize_8.f03
This page took 0.054261 seconds and 5 git commands to generate.