diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2025-05-01 15:22:54 +0100 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2025-05-01 15:23:11 +0100 |
commit | 0abc77da9d704bba55a376bb5c162a54826ab94a (patch) | |
tree | f2cbfd1341edd5f7ed3a0e06df26cb70d0c96d7d /gcc/rust/backend/rust-compile-struct-field-expr.cc | |
parent | 05df554536a8d33f4c438cfc7b006b3b2083246a (diff) | |
download | gcc-0abc77da9d704bba55a376bb5c162a54826ab94a.zip gcc-0abc77da9d704bba55a376bb5c162a54826ab94a.tar.gz gcc-0abc77da9d704bba55a376bb5c162a54826ab94a.tar.bz2 |
Fortran: Source allocation of pure function result rejected [PR119948]
2025-05-01 Paul Thomas <pault@gcc.gnu.org>
gcc/fortran
PR fortran/119948
* resolve.cc (gfc_impure_variable): The result of a module
procedure with an interface declaration is not impure even if
the current namespace is not the same as the symbol's.
gcc/testsuite/
PR fortran/119948
* gfortran.dg/pr119948.f90: New test.
Diffstat (limited to 'gcc/rust/backend/rust-compile-struct-field-expr.cc')
0 files changed, 0 insertions, 0 deletions