From ad01f059e802af2950fc4a146464afc650784802 Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 19 Nov 2017 18:05:14 +0000 Subject: [PATCH] * after a LdiMov/Cp2Ldi/Cpi optimization, the compiler should not continue to optimize this instruction because then reg. alloc info is wrong git-svn-id: trunk@37604 - --- compiler/avr/aoptcpu.pas | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/compiler/avr/aoptcpu.pas b/compiler/avr/aoptcpu.pas index 4b0124b1bc..d5dfdd8128 100644 --- a/compiler/avr/aoptcpu.pas +++ b/compiler/avr/aoptcpu.pas @@ -200,22 +200,22 @@ Implementation if p.opcode in [A_MOV,A_LD,A_LDD,A_LDS,A_LPM,A_LDI,A_MOVW] then i:=1; - while(i