slocs are not statics
authorsandeep <sandeep@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 14 Nov 2001 21:08:43 +0000 (21:08 +0000)
committersandeep <sandeep@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 14 Nov 2001 21:08:43 +0000 (21:08 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1593 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/mcs51/ralloc.c
src/pic/ralloc.c
src/z80/ralloc.c

index 4867e603e7eafc84b136c49885e6c787336526b0..5f2dd4669c3fd0ca379fbf861eef3eb6abe7c1fc 100644 (file)
@@ -513,6 +513,7 @@ createStackSpil (symbol * sym)
   sloc->etype = getSpec (sloc->type);
   SPEC_SCLS (sloc->etype) = S_DATA;
   SPEC_EXTR (sloc->etype) = 0;
+  SPEC_STAT (sloc->etype) = 0;
 
   /* we don't allow it to be allocated`
      onto the external stack since : so we
index 142e0098c94c9e710147c8e9b694ab9b8ed1e23c..95c75778a00e2adf6b699b24f5b52c12c2ab9c14 100644 (file)
@@ -944,6 +944,7 @@ createStackSpil (symbol * sym)
   sloc->etype = getSpec (sloc->type);
   SPEC_SCLS (sloc->etype) = S_DATA;
   SPEC_EXTR (sloc->etype) = 0;
+  SPEC_STAT (sloc->etype) = 0;
 
   /* we don't allow it to be allocated`
      onto the external stack since : so we
index 59ee73c6d33657b3b599144f82e8bfc310bb74ed..93a2915394489d158823ec917d6aa324956c332d 100644 (file)
@@ -457,6 +457,7 @@ createStackSpil (symbol * sym)
   sloc->type = copyLinkChain (sym->type);
   sloc->etype = getSpec (sloc->type);
   SPEC_SCLS (sloc->etype) = S_AUTO;
+  SPEC_STAT (sloc->etype) = 0;
 
   allocLocal (sloc);