On Fri, Oct 30, 2015 at 01:10:32PM +0100, Bernd Schmidt wrote: > On 10/30/2015 12:48 PM, tbsaunde+...@tbsaunde.org wrote: > >From: pault <pault@138bc75d-0d04-0410-961f-82ee72b054a4> > > > > PR fortran/67171 > > * trans-array.c (structure_alloc_comps): On deallocation of > > class components, reset the vptr to the declared type vtable > > and reset the _len field of unlimited polymorphic components. > > *trans-expr.c (gfc_find_and_cut_at_last_class_ref): Bail out on > > allocatable component references to the right of part reference > > with non-zero rank and return NULL. > > (gfc_reset_vptr): Simplify this function by using the function > > gfc_get_vptr_from_expr. Return if the vptr is NULL_TREE. > > (gfc_reset_len): If gfc_find_and_cut_at_last_class_ref returns > > NULL return. > > * trans-stmt.c (gfc_trans_allocate): Rely on the use of > > gfc_trans_assignment if expr3 is a variable expression since > > this deals correctly with array sections. > > There's no explanation of this patch or how it relates to the others in this > series. Did you send the wrong patch?
yes, sorry about that. Trev > > > Bernd >