Hi Thomas, That's just the job. OK for trunk.
Thanks for the quick fix. Paul On Mon, 18 Feb 2019 at 22:03, Thomas Koenig <tkoe...@netcologne.de> wrote: > > 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 <tkoe...@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 <tkoe...@gcc.gnu.org> > > PR fortran/89384 > * gfortran.dg/ISO_Fortran_binding_4.f90 -- "If you can't explain it simply, you don't understand it well enough" - Albert Einstein