]> git.gag.com Git - fw/sdcc/blobdiff - src/ds390/ralloc.c
"fixed" bug 447547
[fw/sdcc] / src / ds390 / ralloc.c
index c9307ee386f160d783808e269621af4067bbb86e..71c20ce12c84b3220d3a87105d9435defc5ce07e 100644 (file)
@@ -2151,6 +2151,10 @@ packRegsForAccUse (iCode * ic)
       IC_LEFT (uic)->key != IC_RESULT (ic)->key)
     return;
 
+#if 0
+  // this is too dangerous and need further restrictions
+  // see bug #447547
+
   /* if one of them is a literal then we can */
   if ((IC_LEFT (uic) && IS_OP_LITERAL (IC_LEFT (uic))) ||
       (IC_RIGHT (uic) && IS_OP_LITERAL (IC_RIGHT (uic))))
@@ -2158,6 +2162,7 @@ packRegsForAccUse (iCode * ic)
       OP_SYMBOL (IC_RESULT (ic))->accuse = 1;
       return;
     }
+#endif
 
   /* if the other one is not on stack then we can */
   if (IC_LEFT (uic)->key == IC_RESULT (ic)->key &&