re PR fortran/18918 (Eventually support Fortran 2008's coarrays [co-arrays])
authorTobias Burnus <burnus@net-b.de>
Sun, 29 May 2011 18:15:08 +0000 (20:15 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Sun, 29 May 2011 18:15:08 +0000 (20:15 +0200)
commit8a5c4899e8f57f09e288043984cc0f4584f17fc4
tree6d2fbf1b69f77f9c491dee27d2731c9582c5f614
parent269e0e1853605002f06a19b0e7e5106d8d491631
re PR fortran/18918 (Eventually support Fortran 2008's coarrays [co-arrays])

2011-05-29  Tobias Burnus  <burnus@net-b.de>
            Richard Guenther  <rguenther@suse.de>

        PR fortran/18918
        * trans-types.c (gfc_get_nodesc_array_type): Don't mess with
        the type's TREE_TYPE.
        * trans-array.c (gfc_conv_array_ref): Use TYPE_MAIN_VARIANT.
        * trans.c (gfc_build_array_ref): Ditto.

2011-05-29  Tobias Burnus  <burnus@net-b.de>

        PR fortran/18918
        * gfortran.dg/coarray_23.f90: New.

Co-Authored-By: Richard Guenther <rguenther@suse.de>
From-SVN: r174410
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/fortran/trans-types.c
gcc/fortran/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/coarray_23.f90 [new file with mode: 0644]