This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r149261 - in /branches/gcc-4_4-branch/gcc: fort...
- From: pault at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sun, 05 Jul 2009 19:06:06 -0000
- Subject: r149261 - in /branches/gcc-4_4-branch/gcc: fort...
Author: pault
Date: Sun Jul 5 19:06:05 2009
New Revision: 149261
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149261
Log:
2009-07-05 Paul Thomas <pault@gcc.gnu.org>
PR fortran/40551
* dependency.h : Add second bool* argument to prototype of
gfc_full_array_ref_p.
* dependency.c (gfc_full_array_ref_p): If second argument is
present, return true if last dimension of reference is an
element or has unity stride.
* trans-array.c : Add NULL second argument to references to
gfc_full_array_ref_p.
* trans-expr.c : The same, except for;
(gfc_trans_arrayfunc_assign): Return fail if lhs reference
is not a full array or a contiguous section.
2009-07-05 Paul Thomas <pault@gcc.gnu.org>
PR fortran/40551
* gfortran.dg/func_assign_2.f90 : New test.
Added:
branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/func_assign_2.f90
Modified:
branches/gcc-4_4-branch/gcc/fortran/ChangeLog
branches/gcc-4_4-branch/gcc/fortran/dependency.c
branches/gcc-4_4-branch/gcc/fortran/dependency.h
branches/gcc-4_4-branch/gcc/fortran/trans-array.c
branches/gcc-4_4-branch/gcc/fortran/trans-expr.c
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog