From: sandeep Date: Sun, 25 Nov 2001 22:16:34 +0000 (+0000) Subject: Fixed algebraicOpts() for division by self X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=bf92c8994f87446fd30add8a191038d13ffe7fe9;p=fw%2Fsdcc Fixed algebraicOpts() for division by self git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1643 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/SDCCcse.c b/src/SDCCcse.c index 435bff75..23dece62 100644 --- a/src/SDCCcse.c +++ b/src/SDCCcse.c @@ -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 */