https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117434
--- Comment #14 from GCC 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:4dbf4c0fdb188e1c348688de91e010f696cd59fc commit r15-4974-g4dbf4c0fdb188e1c348688de91e010f696cd59fc Author: Paul Thomas <pa...@gcc.gnu.org> Date: Wed Nov 6 07:17:25 2024 +0000 Fortran: F2008 passing of internal procs to a proc pointer [PR117434] 2024-11-06 Paul Thomas <pa...@gcc.gnu.org> gcc/fortran PR fortran/117434 * interface.cc (gfc_compare_actual_formal): Skip 'Expected a procedure pointer error' if the formal argument typespec has an interface and the type of the actual arg is BT_PROCEDURE. gcc/testsuite/ PR fortran/117434 * gfortran.dg/proc_ptr_54.f90: New test. This is temporarily compile-only until one one seven four five five is fixed. * gfortran.dg/proc_ptr_55.f90: New test. * gfortran.dg/proc_ptr_56.f90: New test.