Hello everybody, we currently write the interface for intrinsic procedures to module files although that should not be necessary. (F2018:15.4.2.1 actually states that interfaces e.g. of intrinsic procedures are 'explicit'.) This lead to bogus errors due to an apparently bogus ambiguity. A simple solution is to just avoid writing that (redundant) information to the module file. Regtested on x86_64-pc-linux-gnu. OK for (current) mainline? Or rather wait after 11 release? Thanks, Harald 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. gcc/fortran/ChangeLog: * module.c (write_symtree): Do not write interface of intrinsic procedure to module file. gcc/testsuite/ChangeLog: * gfortran.dg/pr63797.f90: New test.