This is the mail archive of the gcc-patches@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]

[Patch, fortran] PR87284 - [7/8/9 Regression] Allocation of class arrays with mold results in "conditional jump or move depends on uninitialised value"


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

Cheers

Paul

2018-09-13  Paul Thomas  <pault@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  <pault@gcc.gnu.org>

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


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