Hi Harald,

thanks for the review. Committed as gcc-15-3825-gf5035d7d015

Thanks again,
        Andre

On Mon, 23 Sep 2024 21:19:40 +0200
Harald Anlauf <anl...@gmx.de> wrote:

> Hi Andre,
>
> Am 19.09.24 um 16:01 schrieb Andre Vehreschild:
> > Hi all,
> >
> > in PR84870 an ICE was reported, that has been fixed in the meantime by some
> > other patch. Nevertheless did a testcase reveal that the memory handling
> > still was not correct. I.e. the test case in the patch was answering 2 for
> > both x.b.a and y.b.a which is not correct.
> >
> > For a coarray all memory is allocated using an array descriptor. For scalars
> > just a temporary descriptor is created and handed to the caf-register
> > routine. The error here was, that the memory now handed back in the
> > temporary descriptor was not used for the memory in the component, thus the
> > pointer in the component was not updated. The patch fixes this.
> >
> > Regtests ok on x86_64-pc-linux-gnu / Fedora 39. Ok for mainline?
>
> this looks good to me.
>
> Thanks for the patch!
>
> Harald
>
> > Regards,
> >     Andre
> > --
> > Andre Vehreschild * Email: vehre ad gmx dot de
>


--
Andre Vehreschild * Email: vehre ad gmx dot de

Reply via email to