Skip to content
Snippets Groups Projects
Commit d264194c authored by Harald Anlauf's avatar Harald Anlauf
Browse files

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: default avatarPaul Thomas <pault@gcc.gnu.org>
parent 330ae1e5
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment