From: cuz Date: Wed, 25 Jul 2001 16:15:47 +0000 (+0000) Subject: Fixed a bug X-Git-Tag: V2.12.0~2757 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c2e45ea24d26c4a34230e6c3d2d356996d488ca1;p=cc65 Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@819 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cc65/coptind.c b/src/cc65/coptind.c index 6f62325b5..33b8f660d 100644 --- a/src/cc65/coptind.c +++ b/src/cc65/coptind.c @@ -833,6 +833,7 @@ unsigned OptStoreLoad (CodeSeg* S) */ if ((E->Info & OF_STORE) != 0 && (N = CS_GetNextEntry (S, I)) != 0 && + !CE_HasLabel (N) && (N->Info & OF_LOAD) != 0 && strcmp (E->Arg, N->Arg) == 0 && (X = CS_GetNextEntry (S, I+1)) != 0 &&