------- Comment #27 from burnus at gcc dot gnu dot org  2010-07-08 15:17 -------
Subject: Bug 18918

Author: burnus
Date: Thu Jul  8 15:17:25 2010
New Revision: 161960

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161960
Log:
2010-07-08  Tobias Burnus  <bur...@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  <bur...@net-b.de>

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


Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/array.c
    trunk/gcc/fortran/expr.c
    trunk/gcc/fortran/gfortran.h
    trunk/gcc/fortran/iresolve.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/coarray_10.f90


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18918

Reply via email to