This commit is contained in:
Kugel Fuhr
2025-01-05 13:25:12 +01:00
parent 50c669d38e
commit 3a52c143fb

View File

@@ -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);
}