diff options
author | Thomas Koenig <tkoenig@gcc.gnu.org> | 2011-01-08 09:38:13 +0000 |
---|---|---|
committer | Thomas Koenig <tkoenig@gcc.gnu.org> | 2011-01-08 09:38:13 +0000 |
commit | ecb3baaa8e973e3963eee7929bfd2fc419a2a950 (patch) | |
tree | bc81017a641e2c952741cf0d7f440a5956a9f883 /gcc/fortran/trans-expr.c | |
parent | 72e961c86a4da21028ac032ae03d7158af69a1af (diff) | |
download | gcc-ecb3baaa8e973e3963eee7929bfd2fc419a2a950.zip gcc-ecb3baaa8e973e3963eee7929bfd2fc419a2a950.tar.gz gcc-ecb3baaa8e973e3963eee7929bfd2fc419a2a950.tar.bz2 |
re PR fortran/45777 (Alias analysis broken for arrays where LHS or RHS is a component ref)
2011-01-08 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/45777
* symbol.c (gfc_symbols_could_alias): Strip gfc_ prefix,
make static and move in front of its only caller, to ...
* trans-array.c (symbols_could_alias): ... here.
Pass information about pointer and target status as
arguments. Allocatable arrays don't alias anything
unless they have the POINTER attribute.
(gfc_could_be_alias): Keep track of pointer and target
status when following references. Also check if typespecs
of components match those of other components or symbols.
2011-01-08 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/45777
* gfortran.dg/dependency_39.f90: New test.
From-SVN: r168596
Diffstat (limited to 'gcc/fortran/trans-expr.c')
0 files changed, 0 insertions, 0 deletions