r112373 - in /trunk/gcc: fortran/ChangeLog fort...
sayle@gcc.gnu.org
sayle@gcc.gnu.org
Sat Mar 25 01:28:00 GMT 2006
Author: sayle
Date: Sat Mar 25 01:28:11 2006
New Revision: 112373
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112373
Log:
* gfortran.h (gfc_symbol): Add a new "forall_index" bit field.
* match.c (match_forall_iterator): Set forall_index field on
the iteration variable's symbol.
* dependency.c (contains_forall_index_p): New function to
traverse a gfc_expr to check whether it contains a variable
with forall_index set in it's symbol.
(gfc_check_element_vs_element): Return GFC_DEP_EQUAL for scalar
constant expressions that don't variables used as FORALL indices.
* gfortran.dg/dependency_9.f90: New (resurected) test case.
Added:
trunk/gcc/testsuite/gfortran.dg/dependency_9.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/dependency.c
trunk/gcc/fortran/gfortran.h
trunk/gcc/fortran/match.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list