OSDN Git Service

2011-06-17 Daniel Carrera <dcarrera@gmail.com>
authorburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Jun 2011 23:09:36 +0000 (23:09 +0000)
committerburnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Jun 2011 23:09:36 +0000 (23:09 +0000)
commit75626a1f38033cc8ad1c753b1ecd697e44f03f64
tree1a0780f50a63ba3471f12fc0843bb7bd1dcd422b
parent9b17c84925156595a4f6952ceddd39bcaece0ece
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175124 138bc75d-0d04-0410-961f-82ee72b054a4
libgfortran/ChangeLog
libgfortran/caf/libcaf.h
libgfortran/caf/mpi.c
libgfortran/caf/single.c