From: johanknol Date: Sun, 2 Feb 2003 13:48:28 +0000 (+0000) Subject: fixed bug #628025 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=88be2dd29fb73a327de41b4b6a44dbf799a8caf5;p=fw%2Fsdcc fixed bug #628025 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2201 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/SDCCcse.c b/src/SDCCcse.c index 319c3e22..4c92f75a 100644 --- a/src/SDCCcse.c +++ b/src/SDCCcse.c @@ -1590,7 +1590,7 @@ cseBBlock (eBBlock * ebb, int computeOnly, /* if after all this it becomes a assignment to self then delete it and continue */ - if (ASSIGNMENT_TO_SELF (ic)) + if (ASSIGNMENT_TO_SELF (ic) && !OTHERS_PARM(OP_SYMBOL(IC_RESULT(ic)))) { remiCodeFromeBBlock (ebb, ic); continue;