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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Dec  6 13:28:59 2019
New Revision: 279045

URL: https://gcc.gnu.org/viewcvs?rev=279045&root=gcc&view=rev
Log:
        PR fortran/92775
        * trans.h (struct lang_type, struct lang_decl): Remove span member.
        (GFC_DECL_SPAN, GFC_TYPE_ARRAY_SPAN): Remove macros.
        * trans-array.h (gfc_get_descriptor_offsets_for_info): Add another
        argument.
        * trans-array.c (gfc_get_descriptor_offsets_for_info): Add SPAN_OFF
        argument and initialize *SPAN_OFF to the offset of span field.
        * trans-types.c (gfc_get_array_descr_info): Adjust
        gfc_get_descriptor_offsets_for_info caller.  Compute elem_size
        as base->span instead of TYPE_SIZE_UNIT (etype) constant.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-array.c
    trunk/gcc/fortran/trans-array.h
    trunk/gcc/fortran/trans-types.c
    trunk/gcc/fortran/trans.h

Reply via email to