From 358f8eb85db2ee1a23ee0d1a4a0a04b5f5c44c25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A1roly=20Balogh?= Date: Thu, 29 Jun 2017 00:11:19 +0000 Subject: [PATCH] m68k: do not internalerror on localsize < 0. this condition is handled elsewhere in the compiler properly, so we just let it through git-svn-id: trunk@36612 - --- compiler/m68k/cgcpu.pas | 3 --- 1 file changed, 3 deletions(-) diff --git a/compiler/m68k/cgcpu.pas b/compiler/m68k/cgcpu.pas index 8dc611aa0d..4c336d66b6 100644 --- a/compiler/m68k/cgcpu.pas +++ b/compiler/m68k/cgcpu.pas @@ -1833,10 +1833,7 @@ unit cgcpu; to '060, so the two move branch here was dropped. (KB) } if not nostackframe then begin - { size can't be negative } localsize:=align(localsize,4); - if (localsize < 0) then - internalerror(2006122601); if (localsize > high(smallint)) then begin