From: johanknol Date: Fri, 24 Jan 2003 18:31:40 +0000 (+0000) Subject: fixed bug #667458 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=73df1a45b5dbce40d770e03f7ff876badb26863f;p=fw%2Fsdcc fixed bug #667458 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2172 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index 643c4fb6..b2c4c9e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 2003-01-24 + * src/ds390/gen.c (aopOp): fixed bug #667458 * src/SDCCglue.c (emitRegularMap): fixed bug #458099 again * src/SDCCast.c (createIvalCharPtr): fixed bug #661910 (createIvalCharPtr): an ival doesn't always have a storage class anymore diff --git a/src/ds390/gen.c b/src/ds390/gen.c index 77bae8aa..e7bcfcd1 100644 --- a/src/ds390/gen.c +++ b/src/ds390/gen.c @@ -9418,8 +9418,11 @@ genGenPointerGet (operand * left, _endLazyDPSEvaluation (); } } - /* so dptr know contains the address */ + + /* so dptr-b now contains the address */ + _G.bInUse++; aopOp (result, ic, FALSE, TRUE); + _G.bInUse--; /* if bit then unpack */ if (IS_BITVAR (retype) || IS_BITVAR (letype))