]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/array.c
re PR fortran/18918 (Eventually support Fortran 2008's coarrays [co-arrays])
authorTobias Burnus <burnus@net-b.de>
Thu, 8 Jul 2010 15:17:25 +0000 (17:17 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Thu, 8 Jul 2010 15:17:25 +0000 (17:17 +0200)
commit7aa0849ad23d89d0a899e0216e20b3c8cc18d8b2
tree144b7a9da68a553d288934276e31c4520a1da9b9
parentd0c422cb29c67f05b7696f7cadf55b3455124f00
re PR fortran/18918 (Eventually support Fortran 2008's coarrays [co-arrays])

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

        PR fortran/18918
        * array.c (gfc_match_array_ref): Better error message for
        coarrays with too few ranks.
        (match_subscript): Move one diagnostic to caller.
        * gfortran.h (gfc_get_corank): Add prottype.
        * expr.c (gfc_get_corank): New function.
        * iresolve.c (resolve_bound): Fix rank for cobounds.
        (gfc_resolve_lbound,gfc_resolve_lcobound, gfc_resolve_ubound,
        gfc_resolve_ucobound, gfc_resolve_this_image): Update
        resolve_bound call.

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

        PR fortran/18918
        * gfortran.dg/coarray_10.f90: Add an additional test.

From-SVN: r161960
gcc/fortran/ChangeLog
gcc/fortran/array.c
gcc/fortran/expr.c
gcc/fortran/gfortran.h
gcc/fortran/iresolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/coarray_10.f90