diff options
| author | Paul Thomas <pault@gcc.gnu.org> | 2025-12-06 08:00:21 +0000 |
|---|---|---|
| committer | Paul Thomas <pault@gcc.gnu.org> | 2025-12-06 08:00:21 +0000 |
| commit | 52154ade9695aed91e3f921d7cb4f0998a7e02bb (patch) | |
| tree | 0499cf9546bd7ac211bf8ff25100b0d167c12356 /gcc/fortran/expr.cc | |
| parent | e48b0e8c048d2f101d14475affe4b8222f64dbb6 (diff) | |
| download | gcc-52154ade9695aed91e3f921d7cb4f0998a7e02bb.zip gcc-52154ade9695aed91e3f921d7cb4f0998a7e02bb.tar.gz gcc-52154ade9695aed91e3f921d7cb4f0998a7e02bb.tar.bz2 | |
Fortran: [PDT] Mismatched types with same name in assignment [PR122670]
2025-12-06 Paul Thomas <pault@gcc.gnu.org>
gcc/fortran
PR fortran/122670
* decl.cc (gfc_get_pdt_instance): Ensure that, in an interface
body, PDT instances imported implicitly if the template has
been explicitly imported.
* module.cc (read_module): If a PDT template appears in a use
only statement, implicitly add the instances as well.
gcc/testsuite
PR fortran/122670
* gfortran.dg/pdt_74.f03: New test.
Diffstat (limited to 'gcc/fortran/expr.cc')
0 files changed, 0 insertions, 0 deletions
