[Patch, fortran] PR66679 - [OOP] ICE with class(*) and transfer
Paul Richard Thomas
paul.richard.thomas@gmail.com
Thu Jul 5 07:52:00 GMT 2018
The comment in the patch says it all.
Bootstrapped and regtested on FC28/x86_64 - OK for trunk?
Paul
2018-07-05 Paul Thomas <pault@gcc.gnu.org>
PR fortran/66679
* trans-intrinsic.c (gfc_conv_intrinsic_transfer): Class array
elements are returned as references to the data element. Get
the class expression by stripping back the references. Use this
for the element size.
2018-07-05 Paul Thomas <pault@gcc.gnu.org>
PR fortran/66679
* gfortran.dg/transfer_class_3.f90: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: submit.diff
Type: text/x-patch
Size: 3098 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20180705/e22c9178/attachment.bin>
More information about the Fortran
mailing list