This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/77785] [Coarray] ICE in gfc_get_caf_token_offset, at fortran/trans-expr.c:1990


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  <vehre@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  <vehre@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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]