[Patch, Fortran] PR53526 - Fix MOVE_ALLOC for coarrays
Tobias Burnus
burnus@net-b.de
Sun Jun 10 14:09:00 GMT 2012
*ping*
Ditto for: http://gcc.gnu.org/ml/fortran/2012-05/msg00171.html
On 30 May 2012 18:35, Tobias Burnus wrote:
> This patch is related to today's check.c patch, but independent (also
> order wise).
>
> The patch ensures that for scalar coarrays, the array path is taken in
> trans-intrinsic. Thus, "to->data = from->data" gets replaced by "*to =
> *from" such that the array bounds (and with -fcoarray=lib the token)
> gets transferred as well.
>
> While that also affected -fcoarray=single, the main changes are for
> the lib version:
> - Call deregister instead of free
> - Call sync all if TO is not deregistered. (move_alloc is an image
> control statement and, thus, implies synchronization)
>
> Build and regtested on x86-64-linux.
> OK for the trunk?
>
> Tobias
More information about the Gcc-patches
mailing list