mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 07:49:12 +02:00
* x86_64-win64: don't allocate outgoing parameter area in nostackframe procedures, it fails compilation if range/overflow/etc checking is enabled (which always sets pi_do_call) due to check introduced in r22677.
git-svn-id: trunk@25176 -
This commit is contained in:
parent
53ea24a0b1
commit
70dda94474
@ -69,7 +69,8 @@ implementation
|
|||||||
begin
|
begin
|
||||||
{ Fixes the case when there are calls done by low-level means
|
{ Fixes the case when there are calls done by low-level means
|
||||||
(cg.a_call_name) but no child callnode }
|
(cg.a_call_name) but no child callnode }
|
||||||
if (pi_do_call in flags) then
|
if (pi_do_call in flags) and
|
||||||
|
not (po_nostackframe in procdef.procoptions) then
|
||||||
allocate_push_parasize(32);
|
allocate_push_parasize(32);
|
||||||
|
|
||||||
if not(po_assembler in procdef.procoptions) and
|
if not(po_assembler in procdef.procoptions) and
|
||||||
|
Loading…
Reference in New Issue
Block a user