mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 18:09:30 +02:00
* fixed tlist overflow in some corner cases when fixing up jumps
git-svn-id: trunk@2342 -
This commit is contained in:
parent
c4b6652468
commit
4fcc98fbf9
@ -480,7 +480,7 @@ begin
|
||||
begin
|
||||
if p.typ = ait_label then
|
||||
begin
|
||||
if (tai_label(p).l.labelnr > labelpositions.count) then
|
||||
if (tai_label(p).l.labelnr >= labelpositions.count) then
|
||||
labelpositions.count := tai_label(p).l.labelnr * 2;
|
||||
labelpositions[tai_label(p).l.labelnr] := pointer(instrpos);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user