https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98472
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:0a79a5457a1a982dd05b8ae33e1320d040a20ccd commit r10-10107-g0a79a5457a1a982dd05b8ae33e1320d040a20ccd Author: Paul Thomas <pa...@gcc.gnu.org> Date: Wed Jan 27 09:12:16 2021 +0000 Fortran: Fix ICE due to elemental procedure pointers [PR98472]. 2021-01-27 Paul Thomas <pa...@gcc.gnu.org> gcc/fortran PR fortran/98472 * trans-array.c (gfc_conv_expr_descriptor): Include elemental procedure pointers in the assert under the comment 'elemental function' and eliminate the second, spurious assert. gcc/testsuite/ PR fortran/98472 * gfortran.dg/elemental_function_5.f90 : New test. (cherry picked from commit 003f0414291d595d2126e6d2e24b281f38f3448f)