[Patch, Fortran] Some fixes for polymorphic coarrays

Tobias Burnus burnus@net-b.de
Tue Dec 13 17:31:00 GMT 2011


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.diff
Type: text/x-patch
Size: 5660 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20111213/b67dd293/attachment.bin>


More information about the Gcc-patches mailing list