]> git.gag.com Git - fw/sdcc/blobdiff - src/SDCCcse.c
Fixed algebraicOpts() for division by self
[fw/sdcc] / src / SDCCcse.c
index 435bff7507c8a0aee97c74322c076328e16512cd..23dece6272c69be3f1935b191d15d702d80e8058 100644 (file)
@@ -790,6 +790,7 @@ algebraicOpts (iCode * ic)
          IC_LEFT (ic) = NULL;
          IC_RESULT (ic) = operandFromOperand (IC_RESULT (ic));
          IC_RESULT (ic)->isaddr = 0;
+         break;
        }
       /* if this is a division then check if right */
       /* is one then change it to an assignment    */