------- Comment #11 from pault at gcc dot gnu dot org 2009-07-05 19:06 ------- Subject: Bug 40551
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 <pa...@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 <pa...@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 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40551