소스 검색

* fix potential crash with copied goto nodes on nestedparentfp platforms
o as described in the comment for the tgotonode.labsym field, it will
be null for copied gotonodes

git-svn-id: trunk@42997 -

Jonas Maebe 5 년 전
부모
커밋
d14fd51d0b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      compiler/ncgnstfl.pas

+ 1 - 0
compiler/ncgnstfl.pas

@@ -46,6 +46,7 @@ implementation
       begin
         result:=inherited;
         if (m_non_local_goto in current_settings.modeswitches) and
+           assigned(labelsym) and
            assigned(labelsym.jumpbuf) then
           begin
             { we will access this jumpbuf local variable from a nested context,