This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r175124 - in /trunk/libgfortran: ChangeLog caf/...
- From: burnus at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 16 Jun 2011 23:09:37 -0000
- Subject: r175124 - in /trunk/libgfortran: ChangeLog caf/...
Author: burnus
Date: Thu Jun 16 23:09:36 2011
New Revision: 175124
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175124
Log:
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.
Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/caf/libcaf.h
trunk/libgfortran/caf/mpi.c
trunk/libgfortran/caf/single.c