Pārlūkot izejas kodu

* generate an internal error to avoid infinite loops if nothing changed during a loop pass to write the debug info of remaining defs

git-svn-id: trunk@37968 -
svenbarth 7 gadi atpakaļ
vecāks
revīzija
ff44f51292
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      compiler/dbgbase.pas

+ 2 - 0
compiler/dbgbase.pas

@@ -339,6 +339,8 @@ implementation
                     internalerror(200610054);
                     internalerror(200610054);
                 end;
                 end;
               end;
               end;
+            if looplist.count=deftowritelist.count then
+              internalerror(2018011401);
             looplist.clear;
             looplist.clear;
             templist := looplist;
             templist := looplist;
             looplist := deftowritelist;
             looplist := deftowritelist;