trans-expr.c (gfc_caf_get_image_index): Fix image calculation.
authorTobias Burnus <burnus@net-b.de>
Sat, 22 Nov 2014 14:14:35 +0000 (15:14 +0100)
committerTobias Burnus <burnus@gcc.gnu.org>
Sat, 22 Nov 2014 14:14:35 +0000 (15:14 +0100)
commit5d26fda334585316dcc494aa001e8596c0569d2f
treefec7e87fce4a4cbc48f926ffe296f743f8fa41ac
parent19f51f28fcb611671a103412b53c9fd04b1f4848
trans-expr.c (gfc_caf_get_image_index): Fix image calculation.

gcc/fortran/
2014-11-22  Tobias Burnus  <burnus@net-b.de>

        * trans-expr.c (gfc_caf_get_image_index): Fix image calculation.

gcc/testsuite/
2014-11-22  Tobias Burnus  <burnus@net-b.de>

        * gfortran.dg/coarray/cosubscript_1.f90: New.

From-SVN: r217966
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/coarray/cosubscript_1.f90 [new file with mode: 0644]