From: sandeep Date: Sun, 19 Aug 2001 15:55:47 +0000 (+0000) Subject: fixed pointer post increment problem X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=8aa6b044fa1c62dd74cc3dd4d05326977bc28163;p=fw%2Fsdcc fixed pointer post increment problem git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1153 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/ds390/ralloc.c b/src/ds390/ralloc.c index 71c20ce1..567b13ef 100644 --- a/src/ds390/ralloc.c +++ b/src/ds390/ralloc.c @@ -1437,6 +1437,7 @@ regTypeNum () (ic = hTabItemWithKey (iCodehTab, bitVectFirstBit (sym->defs))) && POINTER_GET (ic) && + !sym->noSpilLoc && !IS_BITVAR (sym->etype)) { diff --git a/src/pic/ralloc.c b/src/pic/ralloc.c index dcda469f..87921515 100644 --- a/src/pic/ralloc.c +++ b/src/pic/ralloc.c @@ -1874,6 +1874,7 @@ regTypeNum () (ic = hTabItemWithKey (iCodehTab, bitVectFirstBit (sym->defs))) && POINTER_GET (ic) && + !sym->noSpilLoc && !IS_BITVAR (sym->etype)) {