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

--- Comment #14 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-15 branch has been updated by Paul Thomas <[email protected]>:

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

commit r15-11091-ga8f8692781510de782647e1f7afb669bc6a43e12
Author: Paul Thomas <[email protected]>
Date:   Fri Mar 27 22:47:41 2026 +0000

    Fortran: Fix ICE in interface mapping with assumed rank [PR102619]

    2026-03-27  Paul Thomas  <[email protected]>

    gcc/fortran
            PR fortran/102619
            * trans-expr.cc (gfc_get_interface_mapping_array): Add argument
            'assumed_rank_formal', which if true returns the descriptor in
            'ifm'.
            (gfc_add_interface_mapping): Detect an assumed rank formal arg
            of a non-intrinsic function to set 'assumed_rank_formal' and
            pass the descriptor to gfc_get_interface_mapping_array.

    gcc/testsuite/
            PR fortran/102619
            * gfortran.dg/pr102619.f90: New test.

    (cherry picked from commit 39d42de956585477cc4b29ffdac84a85cbaab73a)

Reply via email to