[PATCH, Fortran, sync_alloc, v1] [Coarray] Do not add sync all call when allocating allocatable/pointer component

Jerry DeLisle jvdelisle@charter.net
Wed Jan 18 18:13:00 GMT 2017


On 01/18/2017 08:54 AM, Andre Vehreschild wrote:
> Hi all,
>
> during discussing some other functionality in the caf-library, it occurred to
> me that gfortran is adding a caf_sync_all()-call when allocating only
> allocatable or pointer components of derived typed coarrays. The attached patch
> fixes the behavior.
>
> Bootstrapped and regtests ok on x86_64-linux/f25. Ok for trunk?
>
> Regards,
> 	Andre
>

This looks OK, and thanks for the work.

Jerry



More information about the Fortran mailing list