mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-16 05:50:40 +01:00
Increase reference count of jump label, fixes #39784
This commit is contained in:
parent
6fb16ceec6
commit
7822a90e20
@ -486,6 +486,7 @@ implementation
|
||||
else
|
||||
begin
|
||||
current_asmdata.getjumplabel(l);
|
||||
l.increfs;
|
||||
list.insertafter(tai_label.create(l),curtai);
|
||||
if CPUAVR_HAS_JMP_CALL in cpu_capabilities[current_settings.cputype] then
|
||||
list.insertafter(taicpu.op_sym(A_JMP,taicpu(curtai).oper[0]^.ref^.symbol),curtai)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user