2008-10-12 Paul Thomas <pault@gcc.gnu.org>
commitd60fed4cb240430c246d050b53fcbc5616ca7249
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Oct 2008 10:46:14 +0000 (12 10:46 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 12 Oct 2008 10:46:14 +0000 (12 10:46 +0000)
tree4cccc34e283e4cc8dfb62af0d5b64fde03d0a90f
parent99b87279e1617a917accbb42fa88e26ab1e0ca2e
2008-10-12  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/37787
* dependency.c (gfc_are_equivalenced_arrays): Look in symbol
namespace rather than current namespace, if it is available.

2008-10-12  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/37787
* gfortran.dg/module_equivalence_5.f90: New test.

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