mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 18:19:54 +02:00
Removed vecn nodes from constant pointer address calculations to absolute variables, since only subscripts were being handled leading to problems like those described in issue #17118.
After the removal of vecn these values seem to be handled easily by subsequent optimizations anyway. git-svn-id: trunk@28978 -
This commit is contained in:
parent
d3e91bb60c
commit
7c34dc51a1
@ -573,7 +573,7 @@ implementation
|
||||
else
|
||||
begin
|
||||
hp:=left;
|
||||
while assigned(hp) and (hp.nodetype in [typeconvn,vecn,derefn,subscriptn]) do
|
||||
while assigned(hp) and (hp.nodetype in [typeconvn,derefn,subscriptn]) do
|
||||
hp:=tunarynode(hp).left;
|
||||
if not assigned(hp) then
|
||||
internalerror(200412042);
|
||||
|
Loading…
Reference in New Issue
Block a user