OSDN Git Service

2011-01-08 Thomas Koenig <tkoenig@gcc.gnu.org>
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 8 Jan 2011 09:38:13 +0000 (09:38 +0000)
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 8 Jan 2011 09:38:13 +0000 (09:38 +0000)
commitd197251d5febbd195535ed140a5885e988ca200d
treebc81017a641e2c952741cf0d7f440a5956a9f883
parent63e7c5f411a0f244eefe8ab1107f9764cc644aed
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.

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