* src/SDCCsymt.c (initCSupport): Removed managling of support function
[fw/sdcc] / src / z80 / ralloc.c
index d73acaa0cd4286f85f442266ddc76aafefc68d8a..6e97b1da76c1f751639d006f6ba5fd1a057b4007 100644 (file)
@@ -2442,6 +2442,12 @@ packRegsForIYUse (iCode * lic, operand * op, eBBlock * ebp)
       return NULL;
     }
 
+  if (getSize (operandType (op)) != 2)
+    {
+      D (D_ACCUSE2, ("  + Dropping as operation has size is too big\n"));
+      return FALSE;
+    }
+
   /* Nothing else that clashes with this is using the scratch
      register.  Scan through all of the intermediate instructions and
      see if any of them could nuke HL.