re PR fortran/86830 (Contiguous array pointer function result not recognized as conti...
authorJanus Weil <janus@gcc.gnu.org>
Tue, 11 Sep 2018 06:33:39 +0000 (08:33 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Tue, 11 Sep 2018 06:33:39 +0000 (08:33 +0200)
commitf5da9bfb9e7b729db8243f656a1c7341e2d97655
tree5ec7bac40b1c423111fc052dbe818d0d620b71a8
parent672ce110a853a23adf8b43c58c48957258d9bf86
re PR fortran/86830 (Contiguous array pointer function result not recognized as contiguous)

fix PR 86830

2018-09-11  Janus Weil  <janus@gcc.gnu.org>

PR fortran/86830
* expr.c (gfc_is_simply_contiguous): Handle type-bound procedure calls
with non-polymorphic objects.

2018-09-11  Janus Weil  <janus@gcc.gnu.org>

PR fortran/86830
* gfortran.dg/typebound_call_30.f90: New test case.

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