2017-11-18 Thomas Koenig <tkoenig@gcc.gnu.org>
commit71037271c0bcb803e331eca559a65efb3781a7ea
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Nov 2017 15:53:21 +0000 (18 15:53 +0000)
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Nov 2017 15:53:21 +0000 (18 15:53 +0000)
tree0173a2a632321dfc1979d34f3b3dc35818619d1b
parentce73fd507bf40f36824bfc593f45c08d655bc853
2017-11-18  Thomas Koenig  <tkoenig@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  <tkoenig@gcc.gnu.org>

PR fortran/83012
* gfortran.dg/contiguous_5.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254914 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/contiguous_5.f90 [new file with mode: 0644]