found a better fix in SDCCcse.c:1.53
authorjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 16 Oct 2001 08:50:17 +0000 (08:50 +0000)
committerjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 16 Oct 2001 08:50:17 +0000 (08:50 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1408 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/SDCCicode.c

index b3fb315863ed101885819d60acc4163522f3d24d..0caa5b2f9643a03d7bfa94523173ded256709600 100644 (file)
@@ -927,10 +927,6 @@ operandOperation (operand * left, operand * right,
 
   switch (op)
     {
-    case '=':
-      // we need this now because of SDCCcse.c:1.52, it's a regression though
-      retval = right;
-      break;
     case '+':
       retval = operandFromValue (valCastLiteral (type,
                                                 operandLitValue (left) +