[Bug fortran/88076] Shared Memory implementation for Coarrays

koenigni at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 12 13:13:00 GMT 2019


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

Nicolas Koenig <koenigni at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #45535|0                           |1
        is obsolete|                            |

--- Comment #10 from Nicolas Koenig <koenigni at gcc dot gnu.org> ---
Created attachment 45669
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45669&action=edit
Proof-of-concept v2

Also, here is an updated version that adds (preliminary) support for implicit
coarray accesses and coarrays in modules as well as fixing some bugs in the old
one. It is now capable of compiling and running the following simple test:

module co
  integer:: a[*]
end module

program main
  use co, only: a
  implicit none
  a[next_image()] = this_image()
  sync all
  print *, 'Hi from', a, 'to', this_image()
contains
  function next_image()
    integer:: next_image
    next_image = mod(this_image(), num_images()) + 1
  end function
end program


More information about the Gcc-bugs mailing list