This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/37787] right-left hand side overlap not recognized with EQUIVALENCEd array assignment
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Oct 2008 07:52:00 -0000
- Subject: [Bug fortran/37787] right-left hand side overlap not recognized with EQUIVALENCEd array assignment
- References: <bug-37787-15620@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pault at gcc dot gnu dot org 2008-10-19 07:52 -------
Subject: Bug 37787
Author: pault
Date: Sun Oct 19 07:50:35 2008
New Revision: 141219
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141219
Log:
2008-10-19 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-19 Paul Thomas <pault@gcc.gnu.org>
PR fortran/37787
* gfortran.dg/module_equivalence_5.f90: New test.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gfortran.dg/module_equivalence_5.f90
Modified:
branches/gcc-4_3-branch/gcc/fortran/ChangeLog
branches/gcc-4_3-branch/gcc/fortran/dependency.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37787