X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=src%2FSDCCcse.c;h=258d5fef2b5aeb21b42decdfeb67684c8106af26;hb=024f3c6ed19758bb991e41644b2b3f9415c47894;hp=52bd5593cbdb9884cfb5fb9e609076a164132afb;hpb=931cf7619cfa666ea0ae845462111379e17c6212;p=fw%2Fsdcc diff --git a/src/SDCCcse.c b/src/SDCCcse.c index 52bd5593..258d5fef 100644 --- a/src/SDCCcse.c +++ b/src/SDCCcse.c @@ -901,6 +901,7 @@ updateSpillLocation (iCode * ic, int induction) /* special case for inductions */ if (induction && OP_SYMBOL(IC_RIGHT(ic))->isreqv && + !OP_SYMBOL(IC_RESULT (ic))->noSpilLoc && !SPIL_LOC(IC_RESULT(ic))) { SPIL_LOC (IC_RESULT (ic)) = SPIL_LOC (IC_RIGHT (ic)); } @@ -1228,7 +1229,8 @@ fixUpTypes (iCode * ic) { sym_link *t1 = operandType (IC_LEFT (ic)), *t2; - if (TARGET_IS_DS390) + /* if (TARGET_IS_DS390) */ + if (options.model == MODEL_FLAT24) { /* hack-o-matic! */ return;