https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120784
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:58323d4a03274114a09e75d7aad6d766aceff256 commit r15-9867-g58323d4a03274114a09e75d7aad6d766aceff256 Author: Harald Anlauf <anl...@gmx.de> Date: Mon Jun 23 21:33:40 2025 +0200 Fortran: fix checking of renamed-on-use interface name [PR120784] PR fortran/120784 gcc/fortran/ChangeLog: * interface.cc (gfc_match_end_interface): If a use-associated symbol is renamed, use the local_name for checking. gcc/testsuite/ChangeLog: * gfortran.dg/interface_63.f90: New test. (cherry picked from commit 6dd1659cf10a7ad51576f902ef3bc007db30c990)