[Fortran, Patch, PR108233, v1] Prevent SAVE_EXPR on lhs in assign.

Jerry D jvdelisle2@gmail.com
Tue Feb 25 17:49:29 GMT 2025


On 2/25/25 9:18 AM, Andre Vehreschild wrote:
> Hi all,
> 
> for some recreation after all the coarray stuff, I found this pr cc'ed to me.
> Taking a look at it, I figured that using a SAVE_EXPR on the lhs of the
> assignment was doing the harm. The data seems to be not written back into the
> vector shaped data type (like a complex number in this case). The current fix
> just removes the save_expr from the lhs in an assignment and everything is fine.
> 
> Regtest ok on x86_64-pc-linux-gnu / F41. Ok for mainline?

Looks OK Andre, thanks.

Jerry

> 
> Regards,
> 	Andre
> --
> Andre Vehreschild * Email: vehre ad gmx dot de



More information about the Fortran mailing list