This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r168596 - in /trunk/gcc: fortran/ChangeLog fort...
- From: tkoenig at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sat, 08 Jan 2011 09:38:14 -0000
- Subject: r168596 - in /trunk/gcc: fortran/ChangeLog fort...
Author: tkoenig
Date: Sat Jan 8 09:38:13 2011
New Revision: 168596
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168596
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/dependency_39.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/gfortran.h
trunk/gcc/fortran/symbol.c
trunk/gcc/fortran/trans-array.c
trunk/gcc/testsuite/ChangeLog