re PR fortran/89384 (CONTIGUOUS dummy argument in BIND(C) interface incorrect when...
authorThomas Koenig <tkoenig@gcc.gnu.org>
Tue, 19 Feb 2019 17:55:33 +0000 (17:55 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Tue, 19 Feb 2019 17:55:33 +0000 (17:55 +0000)
commit9d52e1bbd8382e3eca924ebefdcedda62bd0eeb5
tree89e68ed04fe51932a7ab89dde88cb80e8b980e89
parentfe95aee9ce0a163194d4c986d15bd2b8f2abed3d
re PR fortran/89384 (CONTIGUOUS dummy argument in BIND(C) interface incorrect when actual is non-contiguous)

2019-02-19  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/89384
* trans-expr.c (gfc_conv_gfc_desc_to_cfi_desc): If the dummy
argument is contiguous and the actual argument may not be,
use gfc_conv_subref_array_arg.

2019-02-19  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/89384
* gfortran.dg/ISO_Fortran_binding_4.f90

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