This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [accaf, Fortran, patch, v1] Generate caf-reference chains only from the first coarray reference on, and more.
- From: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- To: Andre Vehreschild <vehre at gmx dot de>
- Cc: GCC-Patches-ML <gcc-patches at gcc dot gnu dot org>, GCC-Fortran-ML <fortran at gcc dot gnu dot org>, Damian Rouson <damian at sourceryinstitute dot org>
- Date: Fri, 30 Sep 2016 11:16:48 +0200
- Subject: Re: [accaf, Fortran, patch, v1] Generate caf-reference chains only from the first coarray reference on, and more.
- Authentication-results: sourceware.org; auth=none
- References: <20160929140335.49237ec4@vepi2>
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