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

--- Comment #12 from Paul Thomas <pault at gcc dot gnu.org> ---
Author: pault
Date: Sun Jun  9 18:31:58 2019
New Revision: 272095

URL: https://gcc.gnu.org/viewcvs?rev=272095&root=gcc&view=rev
Log:
2019-06-09  Paul Thomas  <pa...@gcc.gnu.org>

        Backport from trunk
        PR fortran/57284
        * resolve.c (find_array_spec): If this is a class expression
        and the symbol and component array specs are the same, this is
        not an error.
        *trans-intrinsic.c (gfc_conv_intrinsic_size): If a class symbol
        argument, has no namespace, it has come from the interface
        mapping and the _data component must be accessed directly.
        * trans-array.c (gfc_trans_create_temp_array): Compute elemsize
        in all cases and use to set span field.
        (gfc_is_reallocatable_lhs): Pick up class allocatable exprs
        that do not have a _data component ref before the array ref.

2019-06-09  Paul Thomas  <pa...@gcc.gnu.org>

        Backport from trunk
        PR fortran/57284
        * gfortran.dg/class_70.f03: New test
        * gfortran.dg/assign_10.f90: Bump up counts of "atmp".
        * gfortran.dg/transpose_optimization_2.f90: Ditto

Modified:
    branches/gcc-8-branch/gcc/testsuite/gfortran.dg/assign_10.f90

Reply via email to