浏览代码

+ Internalerror if g_concatcopy is called with len=0.

git-svn-id: trunk@8052 -
daniel 18 年之前
父节点
当前提交
4f6eb50391
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      compiler/x86/cgx86.pas

+ 2 - 0
compiler/x86/cgx86.pas

@@ -1566,6 +1566,8 @@ unit cgx86;
         cm:copymode;
 
     begin
+      if len=0 then
+        internalerror(200707142);
       cm:=copy_move;
       helpsize:=12;
       if cs_opt_size in current_settings.optimizerswitches then