https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108961
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-13 branch has been updated by Paul Thomas <pa...@gcc.gnu.org>: https://gcc.gnu.org/g:1a322145aa60a65bed064fbb5514a193a27bd86f commit r13-7654-g1a322145aa60a65bed064fbb5514a193a27bd86f Author: Paul Thomas <pa...@gcc.gnu.org> Date: Sun Jul 30 13:25:19 2023 +0100 Fortran: Seg fault passing string to type cptr dummy [PR108961]. 2023-07-30 Paul Thomas <pa...@gcc.gnu.org> gcc/fortran PR fortran/108961 * trans-expr.cc (gfc_conv_procedure_call): The hidden string length must not be passed to a formal arg of type(cptr). gcc/testsuite/ PR fortran/108961 * gfortran.dg/pr108961.f90: New test.