diff --git a/compiler/ncgutil.pas b/compiler/ncgutil.pas index 6b442a066d..f01944da51 100644 --- a/compiler/ncgutil.pas +++ b/compiler/ncgutil.pas @@ -193,14 +193,14 @@ implementation end else if ( - (p.location.loc=LOC_FPUREGISTER) and + (p.expectloc=LOC_FPUREGISTER) and (p.right.registersfpu > p.left.registersfpu) ) or ( ( ( ((p.left.registersfpu = 0) and (p.right.registersfpu = 0)) or - (p.location.loc<>LOC_FPUREGISTER) + (p.expectloc<>LOC_FPUREGISTER) ) and (p.left.registersint