Browse Source

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

git-svn-id: trunk@15374 -

Jonas Maebe 15 years ago
parent
commit
a7eb6bf64b
1 changed files with 1 additions and 1 deletions
  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);