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

--- Comment #1 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:14ba8d5b87acd5f91ab8b8c02165a0fd53dcc2f2

commit r14-9086-g14ba8d5b87acd5f91ab8b8c02165a0fd53dcc2f2
Author: Peter Hill <peter.h...@york.ac.uk>
Date:   Tue Feb 20 20:42:53 2024 +0100

    Fortran: fix passing array component ref to polymorphic procedures

            PR fortran/105658

    gcc/fortran/ChangeLog:

            * trans-expr.cc (gfc_conv_intrinsic_to_class): When passing an
            array component reference of intrinsic type to a procedure
            with an unlimited polymorphic dummy argument, a temporary
            should be created.

    gcc/testsuite/ChangeLog:

            * gfortran.dg/PR105658.f90: New test.

    Signed-off-by: Peter Hill <peter.h...@york.ac.uk>

Reply via email to