This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, fortran] PR40551 - Wrong code due to missing copy-in/copy-out stried array to assumed-size dummy
- From: Tobias Burnus <burnus at net-b dot de>
- To: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- Cc: fortran at gcc dot gnu dot org, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 29 Jun 2009 22:32:54 +0200
- Subject: Re: [Patch, fortran] PR40551 - Wrong code due to missing copy-in/copy-out stried array to assumed-size dummy
- References: <339c37f20906291123u2cb1e159v9778625c36474c9d@mail.gmail.com>
Paul Richard Thomas schrieb:
> Bootstrapped and regtested on FC9/x86_64 - OK for trunk and 4.4?
>
OK (with the comment update as discussed via IRC.)
Tobias
> 2009-06-29 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-06-29 Paul Thomas <pault@gcc.gnu.org>
>
> PR fortran/40551
> * gfortran.dg/func_assign_2.f90: New test.
>