]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: Generic interface checking with use associated PDTs [PR122089]
authorPaul Thomas <pault@gcc.gnu.org>
Wed, 1 Oct 2025 07:14:00 +0000 (08:14 +0100)
committerPaul Thomas <pault@gcc.gnu.org>
Wed, 1 Oct 2025 07:14:00 +0000 (08:14 +0100)
commit37d794253e77d0a5aa682387a04b63411e9c2cf1
tree0d482806c910fb43322d716a4ca59b4359124219
parent54eeaf3fd7a418426caeee5a8864fd418c2643d1
Fortran: Generic interface checking with use associated PDTs [PR122089]

2025-10-01  Paul Thomas  <pault@gcc.gnu.org>

gcc/fortran
PR fortran/122089
* decl.cc (gfc_get_pdt_instance): If the pdt_template is use
associated, 'module' field should be copied to this instance.

gcc/testsuite/
PR fortran/122089
* gfortran.dg/pdt_51.f03: New test.
gcc/fortran/decl.cc
gcc/testsuite/gfortran.dg/pdt_51.f03 [new file with mode: 0644]