I will commit this tonight as 'obvious' unless there are any complaints. This descriptor renormalisation is already present in gfc_conv_derived_to_class.
Paul 2020-02-28 Paul Thomas <pa...@gcc.gnu.org> PR fortran/92785 * trans-expr.c (gfc_conv_intrinsic_to_class): Renormalise non- variable expressions to be unity lbound based. 2020-02-28 Paul Thomas <pa...@gcc.gnu.org> PR fortran/92785 * gfortran.dg/unlimited_polymorphic_31.f03 : New test.