X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2FSDCClrange.c;h=254202a815178bbaf37e03ec5f71abf67bc49698;hb=57a5cd556222ca016a1595621970c1bfb6ddb1f0;hp=b200b578424f6117da9f2608b46fcfba20a7bd57;hpb=b5d29d69138a09774f423a86270ca058a545cfd2;p=fw%2Fsdcc diff --git a/src/SDCClrange.c b/src/SDCClrange.c index b200b578..254202a8 100644 --- a/src/SDCClrange.c +++ b/src/SDCClrange.c @@ -311,7 +311,7 @@ operandLUse (operand * op, eBBlock ** ebbs, if (lic->op == CALL || lic->op == PCALL) break; } /* found it : mark */ - if (lic) torange = lic->seq; + if (lic) torange = lic->prev->seq; } /* if this is the last use then if this block belongs to a loop & some definition comes into the loop