enabled somemore pointer post inc/dec optimizations
authorsandeep <sandeep@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 29 Apr 2000 22:28:33 +0000 (22:28 +0000)
committersandeep <sandeep@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 29 Apr 2000 22:28:33 +0000 (22:28 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@241 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/SDCCcse.c

index fea12fb3cd48fc791264aa9d2a1a53e9ef113676..6a8771e6c8ead600e1e22e6d08a9a93a17294d00 100644 (file)
@@ -1145,7 +1145,6 @@ int cseBBlock ( eBBlock *ebb, int computeOnly,
        /* if this is an assignment from true symbol
           to a temp then do pointer post inc/dec optimzation */
        if (ic->op == '=' && !POINTER_SET(ic) &&
-           IS_TRUE_SYMOP(IC_RIGHT(ic)) && IS_ITEMP(IC_RESULT(ic)) &&
            IS_PTR(operandType(IC_RESULT(ic)))) {
            ptrPostIncDecOpt(ic);
        }