re PR fortran/18918 (Eventually support Fortran 2008's coarrays [co-arrays])
authorTobias Burnus <burnus@net-b.de>
Mon, 11 Apr 2011 15:50:47 +0000 (17:50 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Mon, 11 Apr 2011 15:50:47 +0000 (17:50 +0200)
commit155e5d5f559fc3639da157b4c3a7ee41f62f43cb
tree387fbb7b6688f4fd0d88a06fd23809e5f79095f5
parente6313a7840a9266bb5777cd29b86885b63b3b24f
re PR fortran/18918 (Eventually support Fortran 2008's coarrays [co-arrays])

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

        PR fortran/18918
        * simplify.c (simplify_bound_dim): Exit for
        ucobound's last dimension unless -fcoarray=single.
        * trans-array (gfc_conv_descriptor_size_1): Renamed from
        gfc_conv_descriptor_size, made static, has now from_dim and
        to_dim arguments.
        (gfc_conv_descriptor_size): Call gfc_conv_descriptor_size.
        (gfc_conv_descriptor_cosize): New function.
        * trans-array.h (gfc_conv_descriptor_cosize): New prototype.
        * trans-intrinsic.c (conv_intrinsic_cobound): Add input_location
        and handle last codim of ucobound for when -fcoarray is not "single".

From-SVN: r172262
gcc/fortran/ChangeLog
gcc/fortran/simplify.c
gcc/fortran/trans-array.c
gcc/fortran/trans-array.h
gcc/fortran/trans-intrinsic.c