trans-array.c (gfc_array_allocate): Pass token to gfc_allocate_allocatable for -fcoar...
authorTobias Burnus <burnus@net-b.de>
Tue, 2 Aug 2011 18:07:52 +0000 (20:07 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Tue, 2 Aug 2011 18:07:52 +0000 (20:07 +0200)
commit979d459888df360b584c17ca72d7a9b76fe50f52
tree18f1e855d9cadeafb7016da5743be4dea9d4a5b2
parentb7cef5958d61773228556bc68e4eacc90ce28672
trans-array.c (gfc_array_allocate): Pass token to gfc_allocate_allocatable for -fcoarray=lib.

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

        * trans-array.c (gfc_array_allocate): Pass token to
          gfc_allocate_allocatable for -fcoarray=lib.
        * trans-stmt.c (gfc_trans_allocate): Update
        gfc_allocate_allocatable call.
        * trans.h (gfc_allocate_allocatable): Update prototype.
        (gfc_allocate_using_lib): Remove.
        * trans.c (gfc_allocate_using_lib): Make static, handle
        token.
        (gfc_allocate_allocatable): Ditto.

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

        * gfortran.dg/coarray_lib_token_3.f90: New.

From-SVN: r177198
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/fortran/trans-stmt.c
gcc/fortran/trans.c
gcc/fortran/trans.h
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/coarray_lib_token_3.f90 [new file with mode: 0644]