https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77785

--- Comment #7 from vehre at gcc dot gnu.org ---
Author: vehre
Date: Tue Dec 13 16:47:48 2016
New Revision: 243614

URL: https://gcc.gnu.org/viewcvs?rev=243614&root=gcc&view=rev
Log:
gcc/fortran/ChangeLog:

2016-12-13  Andre Vehreschild  <ve...@gcc.gnu.org>

        PR fortran/77785
        * resolve.c (resolve_symbol): Correct attr lookup to the _data
        component.
        * trans-array.c (gfc_alloc_allocatable_for_assignment): Indirect ref
        pointers and references before retrieving the caf-token.

gcc/testsuite/ChangeLog:

2016-12-13  Andre Vehreschild  <ve...@gcc.gnu.org>

        PR fortran/77785
        * gfortran.dg/coarray_38.f90: Added expecting error message.
        * gfortran.dg/coarray_41.f90: New test.
        * gfortran.dg/coarray_class_2.f90: New test.



Added:
    trunk/gcc/testsuite/gfortran.dg/coarray_41.f90
    trunk/gcc/testsuite/gfortran.dg/coarray_class_2.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/resolve.c
    trunk/gcc/fortran/trans-array.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/coarray_38.f90

Reply via email to