https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65454
--- Comment #7 from CVS 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:b2713e9f16d3f3597d71e4be6384ecd788684936 commit r12-4274-gb2713e9f16d3f3597d71e4be6384ecd788684936 Author: Harald Anlauf <anl...@gmx.de> Date: Sat Oct 9 21:16:32 2021 +0200 Fortran: accept both old and new-style relational operators in USE, ONLY F2018:10.1.5.5.1(2) requires the same interpretation of old and new-style relational operators. As gfortran internally distinguishes between these versions, we must match equivalent notations in USE module, ONLY: OPERATOR(op) statements when reading modules. gcc/fortran/ChangeLog: PR fortran/65454 * module.c (read_module): Handle old and new-style relational operators when used in USE module, ONLY: OPERATOR(op). gcc/testsuite/ChangeLog: PR fortran/65454 * gfortran.dg/interface_operator_3.f90: New test.