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

Andre Vehreschild vehre@gmx.de
Wed Jan 18 16:55:00 GMT 2017


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
-- 
Andre Vehreschild * Email: vehre ad gmx dot de 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: caf_alloc_sync_v1.clog
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20170118/c1eb5541/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: caf_alloc_sync_v1.patch
Type: text/x-patch
Size: 4814 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20170118/c1eb5541/attachment.bin>


More information about the Fortran mailing list