diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2007-11-24 10:17:26 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2007-11-24 10:17:26 +0000 |
commit | eba55d501f7a2e4b95b7fedd3463424e403f2c54 (patch) | |
tree | 21ec542f34f69afb88c52c5d30f8758eca1c37d1 /gcc/scan-decls.c | |
parent | a298680ca5bbf7254b79e310e683c33baffa18af (diff) | |
download | gcc-eba55d501f7a2e4b95b7fedd3463424e403f2c54.zip gcc-eba55d501f7a2e4b95b7fedd3463424e403f2c54.tar.gz gcc-eba55d501f7a2e4b95b7fedd3463424e403f2c54.tar.bz2 |
re PR fortran/33541 (gfortran wrongly imports renamed-use-associated symbol unrenamed)
2007-11-24 Paul Thomas <pault@gcc.gnu.org>
PR fortran/33541
* module.c (find_symtree_for_symbol): Move to new location.
(find_symbol): New function.
(load_generic_interfaces): Rework completely so that symtrees
have the local name and symbols have the use name. Renamed
generic interfaces exclude the use of the interface without an
ONLY clause (11.3.2).
(read_module): Implement 11.3.2 in the same way as for generic
interfaces.
2007-11-24 Paul Thomas <pault@gcc.gnu.org>
PR fortran/33541
* gfortran.dg/nested_modules_1.f90: Change the reference to
FOO, forbidden by the standard, to a reference to W.
* gfortran.dg/use_only_1.f90: New test.
From-SVN: r130395
Diffstat (limited to 'gcc/scan-decls.c')
0 files changed, 0 insertions, 0 deletions