mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 00:02:06 +02:00
* Fixed bug #17413 (and the tw17413 test) for aarch64 by adding additional check.
git-svn-id: trunk@39951 -
This commit is contained in:
parent
fbfc98a600
commit
7c94d00a4a
@ -112,7 +112,9 @@ implementation
|
||||
{ ... at the place we are looking for }
|
||||
references_equal(tabstractnormalvarsym(tloadnode(n).symtableentry).localloc.reference,rr^.old^) and
|
||||
{ its address cannot have escaped the current routine }
|
||||
not(tabstractvarsym(tloadnode(n).symtableentry).addr_taken) then
|
||||
not(tabstractvarsym(tloadnode(n).symtableentry).addr_taken) and
|
||||
{ it is not accessed in nested procedures }
|
||||
not(tabstractvarsym(tloadnode(n).symtableentry).different_scope) then
|
||||
begin
|
||||
{ relocate variable }
|
||||
tcgloadnode(n).changereflocation(rr^.new^);
|
||||
|
Loading…
Reference in New Issue
Block a user