This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.
>   


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]