https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110993
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:9104472b645f76a212af9f9c58378500f9ba937e commit r15-7234-g9104472b645f76a212af9f9c58378500f9ba937e Author: Harald Anlauf <anl...@gmx.de> Date: Sun Jan 26 22:56:57 2025 +0100 Fortran: fix bogus diagnostics on renamed interface import [PR110993] PR fortran/110993 gcc/fortran/ChangeLog: * frontend-passes.cc (check_externals_procedure): Do not compare interfaces of a non-bind(C) procedure against a bind(C) global one. (check_against_globals): Use local name from rename-on-use in the search for interfaces. gcc/testsuite/ChangeLog: * gfortran.dg/use_rename_14.f90: New test.