* src/SDCCopt.c (killDeadCode): checking for right operand can cause
authortecodev <tecodev@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 22 Jan 2005 15:27:06 +0000 (15:27 +0000)
committertecodev <tecodev@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 22 Jan 2005 15:27:06 +0000 (15:27 +0000)
  crash somewhere else. Removed.

git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3647 4a8a32a2-be11-0410-ad9d-d568d2c75423

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))