浏览代码

+ enabled {$hugecode} for the test tcalcla1.pp in i8086 large memory model,
because in this model, the code of the test exceeds 64kb

git-svn-id: trunk@27699 -

nickysn 11 年之前
父节点
当前提交
4bbf2e8618
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      tests/test/cg/tcalcla1.pp

+ 3 - 0
tests/test/cg/tcalcla1.pp

@@ -29,6 +29,9 @@ program tcalcla1;
 {$endif}
 {$ifdef cpu8086}
   {$define cpusmall}
+  {$if defined(FPC_MM_LARGE) or defined(FPC_MM_HUGE)}
+    {$hugecode on}
+  {$endif}
 {$endif}
 
  const