mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-24 12:01:39 +02:00
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 -
This commit is contained in:
parent
ad89a972e5
commit
358f8eb85d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user