https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63797
--- Comment #10 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:d264194c1069fbcd129222f86455137f29a5c6fd commit r11-8218-gd264194c1069fbcd129222f86455137f29a5c6fd Author: Harald Anlauf <anl...@gmx.de> Date: Fri Apr 16 16:24:31 2021 +0200 PR fortran/63797 - Bogus ambiguous reference to 'sqrt' The interface of an intrinsic procedure is automatically explicit. Do not write it to the module file to prevent wrong ambiguities on USE. gcc/fortran/ChangeLog: PR fortran/63797 * module.c (write_symtree): Do not write interface of intrinsic procedure to module file for F2003 and newer. gcc/testsuite/ChangeLog: PR fortran/63797 * gfortran.dg/pr63797.f90: New test. Co-authored-by: Paul Thomas <pa...@gcc.gnu.org>