Hi Andre,

While I realise that this is not your doing, should we not
check DECL_LANG_SPECIFIC ()) before touching GFC_DECL_SAVED_DESCRIPTOR? Or
is access guaranteed by the REF_COMPONENT check?

A micro-nit line 12 s/User/Use/

Apart from this, it looks to be eminently obvious. OK for mainline.

Paul


On Thu, 18 Jul 2024 at 14:16, Andre Vehreschild <ve...@gmx.de> wrote:

> Hi all,
>
> the attached patch fixes an ICE when the object supplied to sizeof() is
> a coarray of class type. This is fixed by taking the class object from
> the se's class_container.
>
> Regtests ok on x86_64-pc-linux-gnu / Fedora 39. Ok for mainline?
>
> Regards,
>         Andre
> --
> Andre Vehreschild * Email: vehre ad gcc dot gnu dot org
>

Reply via email to