[Patch, Fortran] Some fixes for polymorphic coarrays

Paul Richard Thomas paul.richard.thomas@gmail.com
Thu Dec 15 14:50:00 GMT 2011


Dear Tobias,

>
> OK for the trunk?

OK - thanks!

Paul

>
> Tobias
>
> On 12/13/2011 06:30 PM, Tobias Burnus wrote:
>>
>> Two small fixes:
>>
>> a) There was an ICE when simplifying "THIS_IMAGE(caf)" (for
>> -fcoarray=single); solution: Simply use internally lcobound(), which is
>> identically (for a single image).
>>
>> b) There was an segfault of the compiled program when running
>> "this_image(caf)" where "caf" is a corank-1 coarray. Calculating the extend
>> of an assumed size array should be avoided ...
>>
>> The patch has been build and regtested on x86-64-linux.
>> OK for the trunk?
>>
>> Tobias
>>
>> PS: There are still some other issues with polymorphic coarrays, see "Next
>> steps" in http://users.physik.fu-berlin.de/~tburnus/coarray/README.txt for a
>> list. For instance, there is an ICE if one tries to explicitly deallocate
>> scalar polymorphic coarrays.
>
>



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



More information about the Gcc-patches mailing list