http://gcc.gnu.org/ml/fortran/2012-05/msg00173.html
On 30.05.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