]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fortran: procedure targets in derived-type constructors [PR117070]
authorHarald Anlauf <anlauf@gmx.de>
Thu, 13 Nov 2025 21:34:03 +0000 (22:34 +0100)
committerHarald Anlauf <anlauf@gmx.de>
Fri, 14 Nov 2025 10:23:49 +0000 (11:23 +0100)
commit4fa9ce0b7d1ac1e495a2ec7a6934ef1be5b74cbb
tree5d369e822b0debcb83b0a7eecbb3ba777c0e3f8c
parent55a77666c9126fe8c189aff82059003ad513b22f
Fortran: procedure targets in derived-type constructors [PR117070]

PR fortran/117070

gcc/fortran/ChangeLog:

* array.cc (check_constructor): Allow procedures as potential
target of a procedure pointer.

gcc/testsuite/ChangeLog:

* gfortran.dg/proc_target_1.f90: New test.
gcc/fortran/array.cc
gcc/testsuite/gfortran.dg/proc_target_1.f90 [new file with mode: 0644]