[Patch, Fortran] Some fixes for polymorphic coarrays

Tobias Burnus burnus@net-b.de
Thu Dec 15 14:24:00 GMT 2011


Small patch update: The patch now includes also primary.c changes, which 
fix the DEALLOCATE issue with polymorphic scalar coarrays.

OK for the trunk?

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: poly_caf_1-v2.diff
Type: text/x-patch
Size: 7342 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20111215/33b2bac2/attachment.bin>


More information about the Fortran mailing list