* src/SDCCopt.c (killDeadCode): checking for right operand can cause
[fw/sdcc] / src / SDCCopt.c
index 1377a58e3243d81f3e251ad408da94734e8a2868..af7d6b6d2e9bf456e6e98ea4c03fc4d2e67ec7d3 100644 (file)
@@ -886,10 +886,6 @@ killDeadCode (eBBlock ** ebbs, int count)
              if (IC_LEFT(ic) && isOperandVolatile (IC_LEFT (ic), TRUE))
                continue;
 
-             /* if the right operand is volatile then continue */
-             if (IC_RIGHT(ic) && isOperandVolatile (IC_RIGHT (ic), TRUE))
-               continue;
-
 
              /* if the result is a temp & isaddr then skip */
              if (IC_RESULT (ic) && POINTER_SET (ic))