More AVR stuff
[fw/sdcc] / src / avr / ralloc.c
index ba73c2c085e4e9ff357a56120af5921274c4efaf..f206c96cd6d7b53cbee626dbef226b08a0920a8f 100644 (file)
@@ -1486,6 +1486,9 @@ static int packRegsForAssign (iCode *ic,eBBlock *ebp)
            return 0;                
     }
 pack:
+    /* if in far space & tru symbol then don't */
+    if ((IS_TRUE_SYM(IC_RESULT(ic))) && isOperandInFarSpace(IC_RESULT(ic)))
+       return 0;
     /* found the definition */
     /* replace the result with the result of */
     /* this assignment and remove this assignment */