diff options
| author | Paul Thomas <pault@gcc.gnu.org> | 2025-10-29 09:20:24 +0000 |
|---|---|---|
| committer | Paul Thomas <pault@gcc.gnu.org> | 2025-10-29 09:20:24 +0000 |
| commit | 46dcc8e575c7043aa5cd7ff02ac83e390a70c50f (patch) | |
| tree | 0e0a01574f0c4406c1a3f73e331ba4ded80191a7 /gcc/rust/util/rust-attribute-values.h | |
| parent | dbd0e8fc50e990e999217cc3a2fc5b6fbc74a09d (diff) | |
| download | gcc-46dcc8e575c7043aa5cd7ff02ac83e390a70c50f.zip gcc-46dcc8e575c7043aa5cd7ff02ac83e390a70c50f.tar.gz gcc-46dcc8e575c7043aa5cd7ff02ac83e390a70c50f.tar.bz2 | |
Fortran: Fix recursive PDT function invocation [PR122433, PR122434]
2025-10-29 Paul Thomas <pault@gcc.gnu.org>
gcc/fortran
PR fortran/122433
* decl.cc (gfc_get_pdt_instance): Prevent a PDT component of
the same type as the template from being converted into an
instance.
PR fortran/122434
* resolve.cc (gfc_impure_variable): The result of a pure
function is a valid allocate object since it is pure.
gcc/testsuite/
PR fortran/122433
* gfortran.dg/pdt_62.f03: New test.
PR fortran/122434
* gfortran.dg/pdt_63.f03: New test.
Diffstat (limited to 'gcc/rust/util/rust-attribute-values.h')
0 files changed, 0 insertions, 0 deletions
