]> git.ipfire.org Git - thirdparty/gcc.git/commit
gfortran.h (gfc_equiv_info): Add length field.
authorRoger Sayle <roger@eyesopen.com>
Fri, 17 Mar 2006 00:02:53 +0000 (00:02 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Fri, 17 Mar 2006 00:02:53 +0000 (00:02 +0000)
commit37311e710c998b30f5d535b0cd98b5aa88db14cc
tree8b3497c0385f850e087ede30b150e5e567d20343
parent620b87b3cede2575e47da115ab8d1a6047dc5c06
gfortran.h (gfc_equiv_info): Add length field.

* gfortran.h (gfc_equiv_info): Add length field.
* trans-common.c (copy_equiv_list_to_ns): Set the length field.
* dependency.c (gfc_are_equivalenced_arrays): Use both the offset
and length fields to determine whether the two equivalenced symbols
overlap in memory.

* gfortran.dg/dependency_13.f90: New test case.

From-SVN: r112162
gcc/fortran/ChangeLog
gcc/fortran/dependency.c
gcc/fortran/gfortran.h
gcc/fortran/trans-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/dependency_13.f90 [new file with mode: 0644]