]> git.gag.com Git - fw/sdcc/blobdiff - src/ds390/gen.c
Fixed problem where the same slocs was shared between two operands
[fw/sdcc] / src / ds390 / gen.c
index f28007c9d07e43b7f25aa8b1af8166132e55956a..ff42baaae1c7d3781a7d07d8c21fbfd3da8cc7e1 100644 (file)
@@ -746,7 +746,7 @@ aopOp (operand * op, iCode * ic, bool result, bool useDP2)
     }
 
   /* if already has a asmop then continue */
-  if (op->aop)
+  if (op->aop && aop->size == getSize(sym->type))
     return;
 
   /* if the underlying symbol has a aop */