re PR fortran/83012 (Simply contiguous pointer function not recognized as contiguous)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 18 Nov 2017 15:53:21 +0000 (15:53 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sat, 18 Nov 2017 15:53:21 +0000 (15:53 +0000)
commita814e35ba380d278f95e703efb0cb672987983f7
tree0173a2a632321dfc1979d34f3b3dc35818619d1b
parentcde30fe04594843d87226653c19dbc5e05fad7b4
re PR fortran/83012 (Simply contiguous pointer function not recognized as contiguous)

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.

From-SVN: r254914
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/contiguous_5.f90 [new file with mode: 0644]