]> git.gag.com Git - fw/sdcc/blobdiff - src/mcs51/ralloc.c
"fixed" bug 447547
[fw/sdcc] / src / mcs51 / ralloc.c
index 6b9c977a9b09c35e22fa2eddc33487e883e89772..b17dcf80b0db9088a71160bbd8ee4e118436bdf4 100644 (file)
@@ -2139,6 +2139,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))))
@@ -2146,6 +2150,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 &&