Browse Source

+ 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 years ago
parent
commit
4bbf2e8618
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tests/test/cg/tcalcla1.pp

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

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