]> git.gag.com Git - fw/sdcc/blobdiff - src/pic/ralloc.c
fixed bug #494721
[fw/sdcc] / src / pic / ralloc.c
index 08b72f929a38ded88573195b48cf01bd2b43583e..125bd81211d65701a0b7aab5478c76659ab7ee36 100644 (file)
@@ -2477,7 +2477,8 @@ packRegsForOneuse (iCode * ic, operand * op, eBBlock * ebp)
      a function call */
   if (dic->op == CALL || dic->op == PCALL)
     {
-      if (ic->op != SEND && ic->op != RETURN)
+      if (ic->op != SEND && ic->op != RETURN &&
+         !POINTER_SET(ic) && !POINTER_GET(ic))
        {
          OP_SYMBOL (op)->ruonly = 1;
          return dic;