[Bug fortran/53526] [Coarray] (lib) Properly handle MOVE_ALLOC for coarrays

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 30 10:22:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53526

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-05-30 10:10:34 UTC ---
Extra TODO:

Check whether the library has/should have a short cut for DEALLOCATE if the
memory is NULL. The free() might be still required (to avoid valgrind warnings,
cf. PR 53521) as might be the SYNC ALL to ensure code of the following kind
works:

  if (this_image() == 2) &
    A[1] = 5
  call move_alloc(...)
  if (this_image() == 1) &
    print *, A



More information about the Gcc-bugs mailing list