2007-11-24 Paul Thomas <pault@gcc.gnu.org>
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 24 Nov 2007 10:17:26 +0000 (10:17 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 24 Nov 2007 10:17:26 +0000 (10:17 +0000)
commit3b913ad43f6ab0c10ab1d9aa170a01ad861997ee
tree21ec542f34f69afb88c52c5d30f8758eca1c37d1
parent426ab4bbd6ad02a34e89a15055159622ed1f38d5
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130395 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/module.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/nested_modules_1.f90
gcc/testsuite/gfortran.dg/use_only_1.f90 [new file with mode: 0644]