mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-24 21:09:15 +02:00
* open arrays and arrays of consts might be only stack tainting if they are passed by value
git-svn-id: trunk@41008 -
This commit is contained in:
parent
b9a0b03e4b
commit
8d3d5276d7
@ -5345,8 +5345,8 @@ implementation
|
|||||||
begin
|
begin
|
||||||
p:=tparavarsym(parast.SymList[i]);
|
p:=tparavarsym(parast.SymList[i]);
|
||||||
{ check if no parameter is located on the stack }
|
{ check if no parameter is located on the stack }
|
||||||
if is_open_array(p.vardef) or
|
if (is_open_array(p.vardef) or
|
||||||
is_array_of_const(p.vardef) then
|
is_array_of_const(p.vardef)) and (p.varspez=vs_value) then
|
||||||
begin
|
begin
|
||||||
result:=true;
|
result:=true;
|
||||||
exit;
|
exit;
|
||||||
|
Loading…
Reference in New Issue
Block a user