This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r120116 - in /branches/gcc-4_2-branch/gcc: fort...
- From: sayle at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 21 Dec 2006 18:54:38 -0000
- Subject: r120116 - in /branches/gcc-4_2-branch/gcc: fort...
Author: sayle
Date: Thu Dec 21 18:54:37 2006
New Revision: 120116
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120116
Log:
2006-12-21 Roger Sayle <roger@eyesopen.com>
Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/30207
* dependency.c (gfc_full_array_ref_p): New function to test whether
the given array ref specifies the entire array.
(gfc_dep_resolver): Use gfc_full_array_ref_p to analyze AR_FULL
array refs against AR_SECTION array refs, and vice versa.
* dependency.h (gfc_full_array_ref_p): Prototype here.
* trans-array.c (gfc_conv_expr_descriptor): Use gfc_full_array_ref_p.
* gfortran.fortran-torture/execute/where21.f90: New test.
Added:
branches/gcc-4_2-branch/gcc/testsuite/gfortran.fortran-torture/execute/where21.f90
Modified:
branches/gcc-4_2-branch/gcc/fortran/ChangeLog
branches/gcc-4_2-branch/gcc/fortran/dependency.c
branches/gcc-4_2-branch/gcc/fortran/dependency.h
branches/gcc-4_2-branch/gcc/fortran/trans-array.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog