* src/mcs51/ralloc.c (packRegisters): fixed bug #1044601
authorepetrich <epetrich@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 20 Oct 2004 04:50:40 +0000 (04:50 +0000)
committerepetrich <epetrich@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Wed, 20 Oct 2004 04:50:40 +0000 (04:50 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3545 4a8a32a2-be11-0410-ad9d-d568d2c75423

ChangeLog
src/mcs51/ralloc.c

index 4e524e219b7505f8dd3d915f9aa8613ca8c7e9c6..e7cac1e7d35458c7011b397e86c92a7dcd481411 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-10-20 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
+
+       * src/mcs51/ralloc.c (packRegisters): fixed bug #1044601
+
 2004-10-17 Maarten Brock <sourceforge.brock AT dse.nl>
 
        * as/mcs51/lkarea.c: removed old K&R style,
index de24507bba53c5034ce91b6f0dba32fd7bcc7fb1..63479c48c54d6ad0c9077552919237e3dbb45d18 100644 (file)
@@ -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)) &&