r220515 - in /trunk/gcc: fortran/ChangeLog fort...

mikael@gcc.gnu.org mikael@gcc.gnu.org
Sun Feb 8 14:18:00 GMT 2015


Author: mikael
Date: Sun Feb  8 14:18:16 2015
New Revision: 220515

URL: https://gcc.gnu.org/viewcvs?rev=220515&root=gcc&view=rev
Log:

Use the local name instead of the original name in the check for name conflicts
between a hosting program unit and use-associated symbols
in that program unit.

fortran/
	PR fortran/63744
	* module.c (check_for_ambiguous): Change argument type
	from gfc_symbol to gfc_symtree.  Check local (symtree) name
	instead of original (symbol) name.
	(read_module): Update caller.

testsuite/
	PR fortran/63744
	gfortran.dg/use_rename_8.f90: New.


Added:
    trunk/gcc/testsuite/gfortran.dg/use_rename_8.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/module.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list