re PR fortran/56789 (Handling of contiguous dummy arguments)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 19 Jan 2019 20:06:41 +0000 (20:06 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 19 Jan 2019 20:06:41 +0000 (20:06 +0000)
commit8558af5023b91a65d25d2ed32d642f93e09aa28a
tree1bc72cd5e13ecbb36eac61524de60cda8d456236
parente76c8e5612bc29569d90b3926eb761934251d97d
re PR fortran/56789 (Handling of contiguous dummy arguments)

2018-01-19  Thomas Koenig  <tkoenig@gcc.gnu.org>
Paul Thomas  <pault@gcc.gnu.org>

PR fortran/56789
* trans-expr.c (gfc_conv_procedure_call): Call
gfc_conv_subref_array_arg if the formal arg is contiguous
and the actual arg may not be.

2018-01-19  Thomas Koenig  <tkoenig@gcc.gnu.org>
Paul Thomas  <pault@gcc.gnu.org>

PR fortran/56789
* gfortran.dg/contiguous_3.f90: Make code compilant.  Remove
scan-tree tests that fail with patch.
* gfortran.dg/contiguous_8.f90: New test.

Co-Authored-By: Paul Thomas <pault@gcc.gnu.org>
From-SVN: r268096
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/contiguous_3.f90
gcc/testsuite/gfortran.dg/contiguous_8.f90 [new file with mode: 0644]