Re: [patch, fortran] Fix PR 93956, wrong pointer when returned via function

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [patch, fortran] Fix PR 93956, wrong pointer when returned via function

gcc - fortran mailing list
Hi Paul,

> You didn't attach the testcase but never mind, I am sure that it is OK :-)

You're right. I thought I had it in the git diff, but then again, I am
still learning the niceties (and not-so-niceties) of git.

Test case is attached, for completeness.

> OK for trunk and, if you feel like it, for 9-branch.

Yes, I think this deserves a backport.

Thanks for the review!

Best regards

        Thomas

pointer_assign_13.f90 (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [patch, fortran] Fix PR 93956, wrong pointer when returned via function

gcc - fortran mailing list
Am 21.04.20 um 23:55 schrieb Thomas Koenig:
> Hello world,
>
> this one took a bit of detective work.

... and also caused a regression, see PR 94788.

Reverted on trunk so far, so the upcoming release is OK.
This will still take some more work, I suppose...

Regards

        Thomas