https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117434
--- Comment #20 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-14 branch has been updated by Jerry DeLisle <jvdeli...@gcc.gnu.org>: https://gcc.gnu.org/g:65ecfbabb018896b600065c77f969475a43d529d commit r14-11271-g65ecfbabb018896b600065c77f969475a43d529d 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. (cherry picked from commit 4dbf4c0fdb188e1c348688de91e010f696cd59fc)