[Patch, fortran] PR40551 - Wrong code due to missing copy-in/copy-out stried array to assumed-size dummy
Tobias Burnus
burnus@net-b.de
Mon Jun 29 20:40:00 GMT 2009
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.
>
More information about the Fortran
mailing list