浏览代码

* fixed checking validity of temporary parameter location that triggered
internalerror(200501281) on some platforms after r15365

git-svn-id: trunk@15374 -

Jonas Maebe 15 年之前
父节点
当前提交
a7eb6bf64b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/ncgcal.pas

+ 1 - 1
compiler/ncgcal.pas

@@ -545,7 +545,7 @@ implementation
                                { Can't have a data copied to the stack, every location
                                  must contain a valid size field }
 
-                              if (ppn.tempcgpara.size=OS_NO) and
+                              if (tmpparaloc^.size=OS_NO) and
                                  ((tmpparaloc^.loc<>LOC_REFERENCE) or
                                   assigned(tmpparaloc^.next)) then
                                 internalerror(200501281);