------- Comment #9 from pault at gcc dot gnu dot org 2009-06-29 20:39 ------- Subject: Bug 40551
Author: pault Date: Mon Jun 29 20:38:59 2009 New Revision: 149062 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149062 Log: 2009-06-29 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-06-29 Paul Thomas <pa...@gcc.gnu.org> PR fortran/40551 * gfortran.dg/func_assign_2.f90 : New test. Added: trunk/gcc/testsuite/gfortran.dg/func_assign_2.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/dependency.c trunk/gcc/fortran/dependency.h trunk/gcc/fortran/trans-array.c trunk/gcc/fortran/trans-expr.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40551