mirror of
https://github.com/cc65/cc65.git
synced 2025-04-08 19:38:55 +00:00
Fix #2566.
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user