OSDN Git Service

PR fortran/42769
authormikael <mikael@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Jan 2013 19:42:38 +0000 (19:42 +0000)
committermikael <mikael@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Jan 2013 19:42:38 +0000 (19:42 +0000)
commit89aaa0cb9cf6b06e2fe97711508384dd5ca88e34
tree793e2beb8c0a400d1be549639ac79d467544f087
parentc513cedefcadb03f7bad7c4840ed5a453c1be02e
PR fortran/42769
PR fortran/45836
PR fortran/45900
* module.c (read_module): Don't reuse local symtree if the associated
symbol isn't exactly the one wanted.  Don't reuse local symtree if it is
ambiguous.
* resolve.c (resolve_call): Use symtree's name instead of symbol's to
lookup the symtree.

PR fortran/42769
PR fortran/45836
PR fortran/45900
* gfortran.dg/use_23.f90: New test.
* gfortran.dg/use_24.f90: New test.
* gfortran.dg/use_25.f90: New test.
* gfortran.dg/use_26.f90: New test.
* gfortran.dg/use_27.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@195031 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/module.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/use_23.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/use_24.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/use_25.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/use_26.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/use_27.f90 [new file with mode: 0644]