https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120784
--- Comment #12 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:1b8a32a0bb69b52fa8d1b80cdb6a1581d0cfa5d4 commit r15-9869-g1b8a32a0bb69b52fa8d1b80cdb6a1581d0cfa5d4 Author: Harald Anlauf <anl...@gmx.de> Date: Fri Jun 27 23:00:48 2025 +0200 Fortran: follow-up fix to checking of renamed-on-use interface name [PR120784] Commit r16-1633 introduced a regression for imported interfaces that were not renamed-on-use, since the related logic did not take into account that the absence of renaming could be represented by an empty string. PR fortran/120784 gcc/fortran/ChangeLog: * interface.cc (gfc_match_end_interface): Detect empty local_name. gcc/testsuite/ChangeLog: * gfortran.dg/interface_63.f90: Extend testcase. (cherry picked from commit ddff83b3dde4a8308d0e156f85693e7176b85524)