--- Merging r43185 into '.':

U    compiler/ncgcal.pas

git-svn-id: branches/fixes_3_2@43437 -
This commit is contained in:
Jonas Maebe 2019-11-10 12:03:56 +00:00
parent 7cdb39b3f9
commit 9a58d7bb65

View File

@ -1196,7 +1196,9 @@ implementation
pop_parasize which uses pushedparasize to determine this
This does not apply to interrupt procedures, their ret statment never clears any stack parameters }
else if paramanager.use_fixed_stack and not(po_interrupt in procdefinition.procoptions) then
else if paramanager.use_fixed_stack and
not(po_interrupt in procdefinition.procoptions) and
(target_info.abi=abi_linux386_sysv) then
begin
{ however, a delphi style frame pointer for a nested subroutine
is not cleared by the callee, so we have to compensate for this