]> git.ipfire.org Git - thirdparty/gcc.git/commit
check.c (gfc_check_present): Allow coarrays.
authorTobias Burnus <burnus@net-b.de>
Thu, 21 Jul 2011 12:00:25 +0000 (14:00 +0200)
committerTobias Burnus <burnus@gcc.gnu.org>
Thu, 21 Jul 2011 12:00:25 +0000 (14:00 +0200)
commit0c53708eadd727f4089028e09840865db25a3cd9
tree90e38bf99a56bacbccf1b030246599e15eccdf02
parent91bc61122f0f6781805aab89e21f674b218c72c9
check.c (gfc_check_present): Allow coarrays.

2011-07-21  Tobias Burnus  <burnus@net-b.de>

        * check.c (gfc_check_present): Allow coarrays.
        * trans-array.c (gfc_conv_array_ref): Avoid casting
        when a pointer is wanted.
        * trans-decl.c (create_function_arglist): For -fcoarray=lib,
        handle hidden token and offset arguments for nondescriptor
        coarrays.
        * trans-expr.c (get_tree_for_caf_expr): New function.
        (gfc_conv_procedure_call): For -fcoarray=lib pass the
        token and offset for nondescriptor coarray dummies.
        * trans.h (lang_type): Add caf_offset tree.
        (GFC_TYPE_ARRAY_CAF_OFFSET): New macro.

2011-07-21  Tobias Burnus  <burnus@net-b.de>

        * gfortran.dg/coarray_lib_token_1.f90: New.

From-SVN: r176562
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/fortran/trans-array.c
gcc/fortran/trans-decl.c
gcc/fortran/trans-expr.c
gcc/fortran/trans.h
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/coarray_lib_token_1.f90 [new file with mode: 0644]