[patch, fortran] Fix PR 88669, rejects-valid
Thomas Koenig
tkoenig@netcologne.de
Sun Jan 27 14:20:00 GMT 2019
Hello world,
the attached, rather straightforward patch fixes a rejects-valid error
by fixing up the contiguous attribute for a class, and by using the
correct attributes.
Regression-tested. OK for trunk?
Regards
Thomas
2019-01-27 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-27 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/88669
* gfortran.dg/contiguous_9.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p1.diff
Type: text/x-patch
Size: 1032 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190127/f747e370/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: contiguous_9.f90
Type: text/x-fortran
Size: 382 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20190127/f747e370/attachment-0001.bin>
More information about the Gcc-patches
mailing list