[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-fortran
Subject:    Re: [PATCH] Fortran: do not evaluate polymorphic functions twice in assignment [PR114012]
From:       Jerry D <jvdelisle2 () gmail ! com>
Date:       2024-02-25 23:11:48
Message-ID: 10c1c2b3-57cc-4abe-b42d-e454dd5404cf () gmail ! com
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic