This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, fortran] PR66679 - [OOP] ICE with class(*) and transfer
- From: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- To: "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Cc: Miha Polajnar <polajnar dot miha at gmail dot com>, Janus Weil <janus at gcc dot gnu dot org>
- Date: Mon, 23 Jul 2018 16:51:38 +0100
- Subject: Re: [Patch, fortran] PR66679 - [OOP] ICE with class(*) and transfer
- References: <CAGkQGiLnxPGo5=6v-8gs3PaYJVnDpJ19Q0GRnb462gkwnyUqOg@mail.gmail.com>
Ping!
On Thu, 5 Jul 2018 at 08:51, Paul Richard Thomas
<paul.richard.thomas@gmail.com> wrote:
>
> 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.
--
"If you can't explain it simply, you don't understand it well enough"
- Albert Einstein