https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50377
--- Comment #7 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Harald Anlauf <[email protected]>: https://gcc.gnu.org/g:52ee235811442e9331a6fba6482d3be59364bace commit r16-4372-g52ee235811442e9331a6fba6482d3be59364bace Author: Harald Anlauf <[email protected]> Date: Fri Oct 10 22:02:51 2025 +0200 Fortran: improve checking of procedures passed as actual argument [PR50377] Procedures passed as actual argument require either an explicit interface or must be declared EXTERNAL. Add a check and generate an error (default) or a warning when -std=legacy is specified. PR fortran/50377 gcc/fortran/ChangeLog: * resolve.cc (resolve_actual_arglist): Check procedure actual arguments. gcc/testsuite/ChangeLog: * gfortran.dg/pr41011.f: Fix invalid testcase. * gfortran.dg/actual_procedure_2.f: New test.
