From a4cfade86b0b794429e825728932df5647a8a32b Mon Sep 17 00:00:00 2001 From: pierre Date: Tue, 18 Aug 2020 20:52:47 +0000 Subject: [PATCH] Avoid internalerror 200203273 by handling LOC_CSUBSETREG and LOC_CSUBSETREF as LOC_SUBSETREG in tcgassignmentnode.pass_generate_code git-svn-id: trunk@46484 - --- compiler/ncgld.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/ncgld.pas b/compiler/ncgld.pas index 5403254bf9..3b01789bc4 100644 --- a/compiler/ncgld.pas +++ b/compiler/ncgld.pas @@ -1139,7 +1139,7 @@ implementation cg.g_flags2ref(current_asmdata.CurrAsmList,left.location.size,right.location.resflags,left.location.reference); cg.a_reg_dealloc(current_asmdata.CurrAsmList,NR_DEFAULTFLAGS); end; - LOC_SUBSETREG,LOC_SUBSETREF: + LOC_CSUBSETREG,LOC_CSUBSETREF,LOC_SUBSETREG,LOC_SUBSETREF: begin r:=cg.getintregister(current_asmdata.CurrAsmList,left.location.size); cg.g_flags2reg(current_asmdata.CurrAsmList,left.location.size,right.location.resflags,r);