Hi all,
attached patch adds a call to sync_all after an ALLOCATE allocating a coarray.
This is to adhere to standard wanting:
..., execution of the segment (11.6.2) following the statement is delayed
until all other active images in the current team have executed the same
statement the same number of times in this team.
This, esp. the "statement", means that assigning the SOURCE= is to come before
the sync all, which means we have to do it explicitly after that assignment.
Or the other way around the sync all can be done in library caf_register().
Bootstraps and regtests ok on x86_64-linux/F23. Ok for trunk?
Regards,
Andre