fixed bug #667458
authorjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Fri, 24 Jan 2003 18:31:40 +0000 (18:31 +0000)
committerjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Fri, 24 Jan 2003 18:31:40 +0000 (18:31 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2172 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
src/ds390/gen.c

index 643c4fb6906e633fe5b53b3aa9228295f5e5d80f..b2c4c9e54aeb5dffc76aa18a98d28f1e6fab89fe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2003-01-24    <johan@CP255758-A>
 
+       * 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
index 77bae8aaf24e441ecfdb34b5652603453148d53a..e7bcfcd1010d4723d34603c63c55c168f0efefb8 100644 (file)
@@ -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))