https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102619
--- Comment #15 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Paul Thomas <[email protected]>: https://gcc.gnu.org/g:8d4a1c05f90141fe72b2269b6a032764e54d60b7 commit r14-12530-g8d4a1c05f90141fe72b2269b6a032764e54d60b7 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)
