The above has been fixed as 'obvious' on all three branches. Revisions
264249, 264251 and 264288.

Cheers

Paul

2018-09-13  Paul Thomas  <pa...@gcc.gnu.org>

    PR fortran/87284
    * trans-expr.c (gfc_trans_class_init_assign): Access to
    to array elements of the dynamic type requires that the array
    reference be added to the class expression and not the _data
    component, unlike scalar expressions.

2018-09-13  Paul Thomas  <pa...@gcc.gnu.org>

    PR fortran/87284
    * gfortran.dg/allocate_with_mold_2.f90: New test.

Reply via email to