]> git.ipfire.org Git - thirdparty/gcc.git/commit
single.c (_gfortran_caf_register): Store the address of all static coarrays in a...
authorDaniel Carrera <dcarrera@gmail.com>
Thu, 16 Jun 2011 23:09:36 +0000 (23:09 +0000)
committerTobias Burnus <burnus@gcc.gnu.org>
Thu, 16 Jun 2011 23:09:36 +0000 (01:09 +0200)
commit0a1138af63725af5098e259237492b819631e05b
tree1a0780f50a63ba3471f12fc0843bb7bd1dcd422b
parente9f389f0da308bdb9259afc8be4b7b207acd3900
single.c (_gfortran_caf_register): Store the address of all static coarrays in a linked list.

2011-06-17  Daniel Carrera  <dcarrera@gmail.com>

        * caf/single.c (_gfortran_caf_register): Store the address
        of all static coarrays in a linked list.
        (_gfortran_caf_finalize): Free memory of staic coarrays.
        * caf/mpi.c (_gfortran_caf_register): Store the address
        of all static coarrays in a linked list. Initialize MPI
        if necessary.
        (_gfortran_caf_finalize): Free memory of staic coarrays.
        (_gfortran_caf_init): Check if MPI is already initialized
        before initializing again.
        * caf/libcaf.h: Add a type to caf_register_t to distinguish
        static coarrays and add the type caf_static_t to make the
        linked list of static coarrays.

From-SVN: r175124
libgfortran/ChangeLog
libgfortran/caf/libcaf.h
libgfortran/caf/mpi.c
libgfortran/caf/single.c