From 2c6bfb60b79ea9f86b13d01b0aa30b6c492be2e7 Mon Sep 17 00:00:00 2001 From: johanknol Date: Fri, 26 Oct 2001 13:44:42 +0000 Subject: [PATCH] temporary "fixed" bug #469649, more too come... git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1447 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/SDCCicode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SDCCicode.c b/src/SDCCicode.c index 0bd2f2bc..0ccc0023 100644 --- a/src/SDCCicode.c +++ b/src/SDCCicode.c @@ -1275,7 +1275,8 @@ operandFromSymbol (symbol * sym) !sym->_isparm && /* not a parameter */ sym->level && /* is a local variable */ !sym->addrtaken && /* whose address has not been taken */ - !sym->reqv && /* does not already have a register euivalence */ + !sym->reqv && /* does not already have a reg equivalence */ + !sym->onStack && /* jwk: not on stack */ !IS_VOLATILE (sym->etype) && /* not declared as volatile */ !IS_STATIC (sym->etype) && /* and not declared static */ !sym->islbl && /* not a label */ -- 2.30.2