From af285ba9e5c1ca98162e249587a925f6ce4aa0db Mon Sep 17 00:00:00 2001 From: Alex Volkov Date: Sun, 22 Mar 2026 18:49:12 -0400 Subject: [PATCH] Remove red herring flag set. It is far too late to set LI_DONT_REMOVE in a subopt. --- src/cc65/coptstop.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/cc65/coptstop.c b/src/cc65/coptstop.c index 07ad6cb71..945dc1c54 100644 --- a/src/cc65/coptstop.c +++ b/src/cc65/coptstop.c @@ -1434,8 +1434,6 @@ static unsigned Opt_a_tosbitwise (StackOpData* D, opc_t OPC) X = NewCodeEntry (OP65_LDX, AM65_IMM, MakeHexArg (0), 0, D->Rhs.X.ChgEntry->LI); InsertEntry (D, X, D->IP++); D->Rhs.X.Flags |= LI_REMOVE; - } else { - D->Rhs.X.Flags |= LI_DONT_REMOVE; } } else { /* Rhs load entries may be removed */