* src/SDCCicode.h,
[fw/sdcc] / src / avr / ralloc.c
index 706ae3cefffb6905e65da6b653189803a4996782..4724d789f1f6ea5f6c65a52cd5ca7dd81af64b8d 100644 (file)
@@ -901,7 +901,8 @@ selectSpil (iCode * ic, eBBlock * ebp, symbol * forSym)
                /* check if there are any live ranges that not
                   used in the remainder of the block */
                if (!_G.blockSpil &&
-                   (selectS =
+                   !isiCodeInFunctionCall (ic) &&
+                    (selectS =
                     liveRangesWith (lrcs, notUsedInRemaining, ebp, ic))) {
                        sym = leastUsedLR (selectS);
                        if (sym != forSym) {