From 06da0b3db6563ae317dfc108fe2425ca8b3736be Mon Sep 17 00:00:00 2001 From: Karoly Balogh Date: Mon, 13 Dec 2021 16:14:59 +0100 Subject: [PATCH] * fix m68k IE after e9acd759, patch by Yuriy Sydorov --- compiler/m68k/rgcpu.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/m68k/rgcpu.pas b/compiler/m68k/rgcpu.pas index d3f24951c5..3b522b74d3 100644 --- a/compiler/m68k/rgcpu.pas +++ b/compiler/m68k/rgcpu.pas @@ -146,6 +146,7 @@ unit rgcpu; begin { source can be replaced if dest is register... } if ((instr.oper[1]^.typ=top_reg) and + (getregtype(instr.oper[1]^.reg)=regtype) and (get_alias(getsupreg(instr.oper[1]^.reg))<>orgreg) and ((instr.opcode=A_MOVE) or (instr.opcode=A_ADD) or (instr.opcode=A_SUB) or (instr.opcode=A_AND) or (instr.opcode=A_OR) or (instr.opcode=A_CMP))) or