https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83012
--- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> --- Author: tkoenig Date: Sat Nov 18 15:53:21 2017 New Revision: 254914 URL: https://gcc.gnu.org/viewcvs?rev=254914&root=gcc&view=rev Log: 2017-11-18 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-18 Thomas Koenig <tkoe...@gcc.gnu.org> PR fortran/83012 * gfortran.dg/contiguous_5.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/contiguous_5.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/expr.c trunk/gcc/testsuite/ChangeLog