re PR fortran/88669 (Contiguous attribute wrongly rejected)
authorThomas Koenig <tkoenig@gcc.gnu.org>
Thu, 31 Jan 2019 22:21:28 +0000 (22:21 +0000)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Thu, 31 Jan 2019 22:21:28 +0000 (22:21 +0000)
commit1bd83e0b0ba5f2a32f7c453b6fd1c856036dfba2
treec34f5feb9f2c9b16b3e778e1e504526cd81ac64d
parentba2c1ca8c3d28d791a2fb44c2e4bb4a7b4a5a2ce
re PR fortran/88669 (Contiguous attribute wrongly rejected)

2019-01-31  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/88669
* resolve.c (resolve_component): If the reference is a BT_CLASS,
copy the contiguous attribute from the reference and use the
correct attributes.

2019-01-31  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR fortran/88669
* gfortran.dg/contiguous_9.f90: New test.

From-SVN: r268432
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/contiguous_9.f90 [new file with mode: 0644]