https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63797
--- Comment #11 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Harald Anlauf <anl...@gcc.gnu.org>: https://gcc.gnu.org/g:aff57bcebe534b1d92f78bdfb89a4001a6d12af2 commit r10-9712-gaff57bcebe534b1d92f78bdfb89a4001a6d12af2 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> (cherry picked from commit d264194c1069fbcd129222f86455137f29a5c6fd)