This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: [accaf, Fortran, patch, v1] Generate caf-reference chains only from the first coarray reference on, and more.


Dear Andre,

Looks good to me - OK for trunk.

Thanks

Paul

On 29 September 2016 at 14:03, Andre Vehreschild <vehre@gmx.de> wrote:
> Hi all,
>
> attached patch fixes an addressing issue for coarrays *in* derived types.
> Before the patch the caf runtime reference chain was generated from the start
> of the symbol to the last reference *and* the reference chain upto the coarray
> in the derived type was used to call the caf_*_by_ref () functions. The patch
> fixes this by skipping the generation of unnecessary caf runtime references.
>
> The second part fixes finding the token for coarrayed arrays. The new semantic
> is, that each allocatable array has the coarray token in its .token member,
> which the allocate_array now makes use of.
>
> Bootstrapped and regtested ok on x86_64-linux/F23. Ok for trunk?
>
> Regards,
>         Andre
> --
> Andre Vehreschild * Email: vehre ad gmx dot de



-- 
The difference between genius and stupidity is; genius has its limits.

Albert Einstein


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