Dear Tobias,

Good catch on the non-polymorphic 'TO'!


>> Updated version (cf. below). Build and regtested on x86-64-linux.
>> OK for the trunk?

Indeed - OK for trunk.

>>
>> I asked at J3 and John Reid kindly pointed me to the pending
>> interpretation request F08/0040 at
>> http://j3-fortran.org/doc/year/12/12-006A.txt
>>
>> According to the IR, coarray arguments are allowed, if the FROM and TO
>> have the same corank. (Hence, Damian's example remains invalid.)

That seems entirely logical.

>>
>> Additionally, MOVE_ALLOC becomes an image control statement as TO might
>> get deallocated. I filled a PR to track the implications for -fcoarray=lib:
>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53526

Thanks for doing that and for the patch.

Cheers

Paul



-- 
The knack of flying is learning how to throw yourself at the ground and miss.
       --Hitchhikers Guide to the Galaxy

Reply via email to