re PR fortran/18918 (Eventually support Fortran 2008's coarrays [co-arrays])
authorTobias Burnus <burnus@net-b.de>
Mon, 18 Apr 2011 17:21:24 +0000 (19:21 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Mon, 18 Apr 2011 17:21:24 +0000 (19:21 +0200)
commite84b920c7c572f009e90ab39bab51c715de99c84
treebf6b6c568e6f3d79086e78008f4e7cd747eee634
parent9c41356cd209d7f8fd8a7a548a291f08a383c768
re PR fortran/18918 (Eventually support Fortran 2008's coarrays [co-arrays])

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

        PR fortran/18918
        * array.c (gfc_match_array_ref): Check for too many
        * codimensions.
        * check.c (gfc_check_image_index): Check number of elements
        in SUB argument.
        * simplify.c (gfc_simplify_image_index): Remove unreachable
        * checks.

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

        PR fortran/18918
        * gfortran.dg/coarray_17.f90: New.
        * gfortran.dg/coarray_10.f90: Update dg-error.

From-SVN: r172658
gcc/fortran/ChangeLog
gcc/fortran/array.c
gcc/fortran/check.c
gcc/fortran/simplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/coarray_10.f90
gcc/testsuite/gfortran.dg/coarray_17.f90 [new file with mode: 0644]