[PATCH] Fortran: do not evaluate polymorphic functions twice in assignment [PR114012]
Jerry D
jvdelisle2@gmail.com
Sun Feb 25 23:11:48 GMT 2024
On 2/25/24 12:26 PM, Harald Anlauf wrote:
> Dear all,
>
> the attached simple patch fixes an issue where we evaluated
> polymorphic functions twice in assignments: once for the _data
> component, and once for the _vptr. Using save_expr prevents
> the double evaluation.
>
> Regtested on x86_64-pc-linux-gnu. OK for mainline?
> And a backport to 13-branch after some delay?
>
> Thanks,
> Harald
>
Yes, simple enough. OK.
Thanks,
Jerry
More information about the Fortran
mailing list