[Patch, fortran] PR40551 - Wrong code due to missing copy-in/copy-out stried array to assumed-size dummy

Paul Richard Thomas paul.richard.thomas@gmail.com
Mon Jun 29 20:51:00 GMT 2009


Done - Committed revision 149062.

Thanks for the review and the discussion on #gfortran

Paul

On Mon, Jun 29, 2009 at 10:32 PM, Tobias Burnus<burnus@net-b.de> wrote:
> 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.
>>
>
>



-- 
The knack of flying is learning how to throw yourself at the ground and miss.
       --Hitchhikers Guide to the Galaxy



More information about the Fortran mailing list