[Patch, fortran] PR92785 - expressions passed as real arguments to a dummy polymorphic argument fail with indexing error

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Patch, fortran] PR92785 - expressions passed as real arguments to a dummy polymorphic argument fail with indexing error

Paul Richard Thomas
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  <[hidden email]>

    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  <[hidden email]>

    PR fortran/92785
    * gfortran.dg/unlimited_polymorphic_31.f03 : New test.