From 5ade3859d7f0e21b5eab227e088fb2c2017b07a3 Mon Sep 17 00:00:00 2001 From: johanknol Date: Mon, 24 Sep 2001 10:39:01 +0000 Subject: [PATCH] a better fix for bug #456966 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1306 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/SDCCglue.c | 6 ++++++ 1 file changed, 6 insertions(+) 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 || -- 2.30.2