https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78892

vehre at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID
           Assignee|unassigned at gcc dot gnu.org      |vehre at gcc dot gnu.org

--- Comment #1 from vehre at gcc dot gnu.org ---
This bug is invalid, because the responsibility for the type conversion has
been moved to the library. This allows for choosing the smallest datatype
needed for transfering data between images.

Since r211993 code for doing the conversion in the library is in
libgfortran/caf/single.c. Opencoarrays seems to lack the support there.
Opencoarrays works with older versions of gcc, because for scalars the compiler
is doing a type cast. But this of course prevents minimizing the footprint of
data to transfer. IMO this should be fixed in Opencoarrays. The routines for
the type conversion are already present, because the new _by_ref communication
functions already make use of them. Only the old caf_get(), caf_send(), and
caf_sendget() need to be extended.

Reply via email to