https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108961
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Paul Thomas <pa...@gcc.gnu.org>: https://gcc.gnu.org/g:caf0892eea67349d9a1e44590c3440768136fe2b commit r14-2021-gcaf0892eea67349d9a1e44590c3440768136fe2b Author: Paul Thomas <pa...@gcc.gnu.org> Date: Wed Jun 21 17:01:57 2023 +0100 Fortran: Seg fault passing string to type cptr dummy [PR108961]. 2023-06-21 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.