1
0
mirror of https://github.com/cc65/cc65.git synced 2025-04-08 19:38:55 +00:00
This commit is contained in:
Kugel Fuhr 2025-01-05 13:25:12 +01:00
parent 50c669d38e
commit 3a52c143fb

@ -104,9 +104,9 @@ static void CopyStruct (ExprDesc* LExpr, ExprDesc* RExpr)
} else {
/* The rhs cannot happen to be loaded in the primary as it is too big */
/* Load the address of rhs into the primary */
ED_AddrExpr (RExpr);
if (!ED_IsLocExpr (RExpr)) {
ED_AddrExpr (RExpr);
LoadExpr (CF_NONE, RExpr);
}