https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110826

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>:

https://gcc.gnu.org/g:81ee1298b47d3f3b3712ef3f3b2929ca26c4bcd2

commit r14-9442-g81ee1298b47d3f3b3712ef3f3b2929ca26c4bcd2
Author: Harald Anlauf <anl...@gmx.de>
Date:   Mon Mar 11 22:05:51 2024 +0100

    Fortran: handle procedure pointer component in DT array [PR110826]

    gcc/fortran/ChangeLog:

            PR fortran/110826
            * array.cc (gfc_array_dimen_size): When walking the ref chain of an
            array and the ultimate component is a procedure pointer, do not try
            to figure out its dimension even if it is a array-valued function.

    gcc/testsuite/ChangeLog:

            PR fortran/110826
            * gfortran.dg/proc_ptr_comp_53.f90: New test.

Reply via email to