From: epetrich Date: Wed, 20 Oct 2004 04:50:40 +0000 (+0000) Subject: * src/mcs51/ralloc.c (packRegisters): fixed bug #1044601 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=f1ecc2b5a2acb09e8bbd167f8f0ff8b5f336c333;p=fw%2Fsdcc * src/mcs51/ralloc.c (packRegisters): fixed bug #1044601 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3545 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index 4e524e21..e7cac1e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-10-20 Erik Petrich + + * src/mcs51/ralloc.c (packRegisters): fixed bug #1044601 + 2004-10-17 Maarten Brock * as/mcs51/lkarea.c: removed old K&R style, diff --git a/src/mcs51/ralloc.c b/src/mcs51/ralloc.c index de24507b..63479c48 100644 --- a/src/mcs51/ralloc.c +++ b/src/mcs51/ralloc.c @@ -2963,8 +2963,7 @@ packRegisters (eBBlock ** ebpp, int blockno) this is the only usage then mark the itemp as a conditional */ if ((IS_CONDITIONAL (ic) || - (IS_BITWISE_OP(ic) && isBitwiseOptimizable (ic)) || - (POINTER_GET (ic) && getSize (operandType (IC_RESULT (ic))) <=1)) && + (IS_BITWISE_OP(ic) && isBitwiseOptimizable (ic))) && ic->next && ic->next->op == IFX && bitVectnBitsOn (OP_USES(IC_RESULT(ic)))==1 && isOperandEqual (IC_RESULT (ic), IC_COND (ic->next)) &&