[Bug fortran/88669] Contiguous attribute wrongly rejected
tkoenig at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 31 22:22:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88669
--- Comment #4 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Thu Jan 31 22:21:28 2019
New Revision: 268432
URL: https://gcc.gnu.org/viewcvs?rev=268432&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/contiguous_9.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/resolve.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list