trans.c (gfc_allocate_with_status): Call _gfortran_caf_register with NULL arguments...
authorTobias Burnus <burnus@net-b.de>
Thu, 7 Jul 2011 12:46:18 +0000 (14:46 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Thu, 7 Jul 2011 12:46:18 +0000 (14:46 +0200)
commit4054bc52d6c353aceeb7a9312347c2c98e837783
treeb37e5a976d269b3995d6bf2d0549805071b660ed
parent3c3ab6c5e1ef023b0c75a2dd36dc3c36cb840e33
trans.c (gfc_allocate_with_status): Call _gfortran_caf_register with NULL arguments for (new) stat=/errmsg= arguments.

2011-07-07  Tobias Burnus  <burnus@net-b.de>

        * trans.c (gfc_allocate_with_status): Call _gfortran_caf_register
        with NULL arguments for (new) stat=/errmsg= arguments.

2011-07-07  Tobias Burnus  <burnus@net-b.de>

        * libcaf.h (__attribute__, unlikely, likely): New macros.
        (caf_register_t): Update comment.
        (_gfortran_caf_register): Add stat, errmsg, errmsg_len arguments.
        * single.c (_gfortran_caf_register): Ditto; add error diagnostics.
        * mpi.c (_gfortran_caf_register): Ditto.
        (caf_is_finalized): New global variable.
        (_gfortran_caf_finalize): Use it.

From-SVN: r175966
gcc/fortran/ChangeLog
gcc/fortran/trans.c
libgfortran/ChangeLog
libgfortran/caf/libcaf.h
libgfortran/caf/mpi.c
libgfortran/caf/single.c