소스 검색

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 -

Jeppe Johansen 10 년 전
부모
커밋
7c34dc51a1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/nmem.pas

+ 1 - 1
compiler/nmem.pas

@@ -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);