On 01/31/2018 09:34 PM, Paul Richard Thomas wrote:
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....


Hi Paul,

it does.

I've tested r257266, and the libgomp.oacc-fortran/declare-*.f90 execution fails are gone.

Thanks,
- Tom

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