[patch, fortran] Fix PR 89384
Thomas Koenig
tkoenig@netcologne.de
Mon Feb 18 22:03:00 GMT 2019
Hello world,
this patch fixes the 9 regression in C interop with contiguous
arguments recently reported by Reinhold Bader.
ChangeLog and patch say it all. I hope I didn't overlook any
obvious things here (Paul, maybe you can take a look).
Regression-tested. OK for trunk?
Regards
Thomas
2019-02-18 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-18 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/89384
* gfortran.dg/ISO_Fortran_binding_4.f90
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p1.diff
Type: text/x-patch
Size: 653 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20190218/626616c2/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ISO_Fortran_binding_4.f90
Type: text/x-fortran
Size: 501 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20190218/626616c2/attachment-0001.bin>
More information about the Fortran
mailing list