Explorar o código

* Fixed Internal error 2003042401 in tw7379 for ARM CPU.

git-svn-id: trunk@5963 -
yury %!s(int64=18) %!d(string=hai) anos
pai
achega
36ea8ec683
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      compiler/arm/narmmat.pas

+ 2 - 1
compiler/arm/narmmat.pas

@@ -86,7 +86,8 @@ implementation
                   location_copy(location,left.location);
                   location_copy(location,left.location);
                   inverse_flags(location.resflags);
                   inverse_flags(location.resflags);
                 end;
                 end;
-              LOC_REGISTER,LOC_CREGISTER,LOC_REFERENCE,LOC_CREFERENCE :
+              LOC_REGISTER,LOC_CREGISTER,LOC_REFERENCE,LOC_CREFERENCE,
+              LOC_SUBSETREG,LOC_CSUBSETREG,LOC_SUBSETREF,LOC_CSUBSETREF :
                 begin
                 begin
                   location_force_reg(current_asmdata.CurrAsmList,left.location,def_cgsize(left.resultdef),true);
                   location_force_reg(current_asmdata.CurrAsmList,left.location,def_cgsize(left.resultdef),true);
                   current_asmdata.CurrAsmList.concat(taicpu.op_reg_const(A_CMP,left.location.register,0));
                   current_asmdata.CurrAsmList.concat(taicpu.op_reg_const(A_CMP,left.location.register,0));