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

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

https://gcc.gnu.org/g:e81edf9d86f3647dc510784ee49a625dbaded8b5

commit r14-11022-ge81edf9d86f3647dc510784ee49a625dbaded8b5
Author: Harald Anlauf <anl...@gmx.de>
Date:   Mon Nov 25 22:55:10 2024 +0100

    Fortran: passing inquiry ref of complex array to assumed rank dummy
[PR117774]

            PR fortran/117774

    gcc/fortran/ChangeLog:

            * trans-expr.cc (gfc_conv_procedure_call): When passing an array
            to an assumed-rank dummy, terminate search for array reference of
            actual argument before an inquiry reference (e.g. INQUIRY_RE,
            INQUIRY_IM) so that bounds update works properly.

    gcc/testsuite/ChangeLog:

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

    (cherry picked from commit eff7e72815ada5c70c974d42f6a419e29a03eb27)

Reply via email to