[Bug fortran/83746] Errors using the max intrinsic in a PDT length parameter expression for a function result
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Sep 20 13:25:59 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83746
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Paul Thomas <pault@gcc.gnu.org>:
https://gcc.gnu.org/g:8ded56a52a79333ea0829d930254ec9c6f04db90
commit r16-4001-g8ded56a52a79333ea0829d930254ec9c6f04db90
Author: Paul Thomas <pault@gcc.gnu.org>
Date: Sat Sep 20 14:25:47 2025 +0100
Fortran: Fix regtest failure in pdt_48.f03. [PR83746]
2025-09-20 Paul Thomas <pault@gcc.gnu.org>
gcc/fortran
PR fortran/83746
* trans-decl.cc (gfc_trans_deferred_vars): If a procedure with
an non-allocatable, non-pointer explicit PDT result has no
default initializer, the parameterized components should be
allocated.
More information about the Gcc-bugs
mailing list