Hi Thomas, This is OK.
Thanks Paul On 17 November 2017 at 17:38, Thomas Koenig <tkoe...@netcologne.de> wrote: > Hello world, > > the attached patch fixes the PR by looking at the function interface if > one exists. > > Regression-tested. OK for trunk? > > Regards > > Thomas > > 2017-11-17 Thomas Koenig <tkoe...@gcc.gnu.org> > > PR fortran/83012 > * expr.c (gfc_is_simply_contiguous): If a function call through a > class variable is done through a reference, check the function's > interface. > > 2017-11-17 Thomas Koenig <tkoe...@gcc.gnu.org> > > PR fortran/83012 > * gfortran.dg/contiguous_5.f90: New test. -- "If you can't explain it simply, you don't understand it well enough" - Albert Einstein