[Patch, Fortran] Fix allocatable scalar coarray components

Tobias Burnus burnus@net-b.de
Thu Aug 25 14:39:00 GMT 2011


Scalar coarray components didn't use the array descriptor, which caused 
all kinds of ICEs.

Fix by this relatively simple patch.
OK for the trunk?

  * * *

Pending coarray patch for -fcoarray=lib: Add support for assumed-shape 
coarray dummies (passing offset and token); see 
http://gcc.gnu.org/ml/fortran/2011-08/msg00182.html

Regarding -fcoarray=single: I would claim gfortran has full coarray 
support, except for polymorphic coarrays (depends on polymorphic arrays 
support) and another issue with allocatable coarray components and 
assignment, which will be fixed soon.

Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: scalar_alloc_coarrays.diff
Type: text/x-patch
Size: 2879 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20110825/83d95b8e/attachment.bin>


More information about the Fortran mailing list