re PR fortran/84088 ([nvptx] libgomp.oacc-fortran/declare-*.f90 execution fails)
authorPaul Thomas <pault@gcc.gnu.org>
Wed, 31 Jan 2018 20:28:35 +0000 (20:28 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Wed, 31 Jan 2018 20:28:35 +0000 (20:28 +0000)
commit1af734911a08c4cb41046cb0e0ffe2206dcdf142
tree1bdc5df27465d49a78f5c1d424cf2a3e9ea112db
parent125a677d029d94dfda7e0205ded2ffdcee595321
re PR fortran/84088 ([nvptx] libgomp.oacc-fortran/declare-*.f90 execution fails)

2018-01-31  Paul Thomas  <pault@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  <pault@gcc.gnu.org>

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

From-SVN: r257262
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr84088.f90 [new file with mode: 0644]