This fixes the reduced testcase provided by Tom de Vries in comment #7
of the PR. Committed as 'obvious' as r257262. Will await a report from
Tom as to whether or not this fixes the original problem....

Paul

2018-01-31  Paul Thomas  <pa...@gcc.gnu.org>

    PR fortran/84088
    * trans-expr.c (gfc_conv_procedure_call): If the parm expr is
    an address expression passed to an assumed rank dummy, convert
    to an indirect reference.

2018-01-31  Paul Thomas  <pa...@gcc.gnu.org>

    PR fortran/84088
    * gfortran.dg/pr84088.f90 : New test.

Reply via email to