re PR fortran/18918 (Eventually support Fortran 2008's coarrays [co-arrays])
authorTobias Burnus <burnus@net-b.de>
Thu, 19 May 2011 20:53:33 +0000 (22:53 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Thu, 19 May 2011 20:53:33 +0000 (22:53 +0200)
commit4409de247c778276c0445f3d9f8817562f152b78
treeca76ae70170c060df3f7975deb2b3d441d0d1798
parent664e12c1265280786f83d8fd1ec1ebbf50c153c0
re PR fortran/18918 (Eventually support Fortran 2008's coarrays [co-arrays])

2011-06-19  Tobias Burnus  <burnus@net-b.de>

        PR fortran/18918
        * trans-types.c (gfc_get_element_type): Handle scalar coarrays.
        (gfc_get_nodesc_array_type): Make a variant-type copy for scalar
        coarrays.
        * trans.c (gfc_build_array_ref): Return original type not
        * variant
        copy for scalar coarrays.
        * trans-array.c (gfc_conv_array_ref): Ditto.

2011-06-19  Tobias Burnus  <burnus@net-b.de>

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

From-SVN: r173920
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_21.f90 [new file with mode: 0644]