From 4c6a92cc9d39887e242bffae32ea525eb825c766 Mon Sep 17 00:00:00 2001 From: sandeep Date: Tue, 18 Jan 2000 17:38:54 +0000 Subject: [PATCH] fixed bug in packForPush .. git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@13 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/mcs51/ralloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mcs51/ralloc.c b/src/mcs51/ralloc.c index 2a7dc805..f768d1d4 100644 --- a/src/mcs51/ralloc.c +++ b/src/mcs51/ralloc.c @@ -2003,7 +2003,7 @@ static void packForPush(iCode *ic, eBBlock *ebp) bitVectFirstBit(OP_DEFS(IC_LEFT(ic)))))) return ; - if (dic->op != '=' || POINTER_SET(dic)) + if (dic->op != '=' || POINTER_SET(dic) || IS_ITEMP(IC_RESULT(dic))) return; /* we now we know that it has one & only one def & use -- 2.47.2