https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107707
--- Comment #4 from CVS 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:bdd784fc48a283d54f5f1e3cc2a0668c14dd3bee commit r13-4113-gbdd784fc48a283d54f5f1e3cc2a0668c14dd3bee Author: Steve Kargl <ka...@gcc.gnu.org> Date: Wed Nov 16 22:46:55 2022 +0100 Fortran: ICE on procedure arguments with non-integer length [PR107707] gcc/fortran/ChangeLog: PR fortran/107707 * interface.cc (gfc_compare_actual_formal): Check that we actually have integer values before asking gmp_* to use them. gcc/testsuite/ChangeLog: PR fortran/107707 * gfortran.dg/pr107707.f90: New test.