From: johanknol Date: Mon, 24 Sep 2001 10:39:01 +0000 (+0000) Subject: a better fix for bug #456966 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=5ade3859d7f0e21b5eab227e088fb2c2017b07a3;p=fw%2Fsdcc a better fix for bug #456966 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1306 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/SDCCglue.c b/src/SDCCglue.c index f4495e74..55cba41e 100644 --- a/src/SDCCglue.c +++ b/src/SDCCglue.c @@ -192,6 +192,12 @@ emitRegularMap (memmap * map, bool addPublics, bool arFlag) !sym->allocreq && sym->level) continue; + /* for bitvar locals and parameters */ + if (!arFlag && !sym->allocreq && sym->level + && !SPEC_ABSA (sym->etype)) { + continue; + } + /* if global variable & not static or extern and addPublics allowed then add it to the public set */ if ((sym->level == 0 ||