Browse Source

* don't call make_simple_ref in tcgx86.g_concatcopy on i8086, because that
screws up the handling of segmented references badly and breaks the large,
compact and huge memory models completely

git-svn-id: trunk@33314 -

nickysn 9 years ago
parent
commit
c4343c1a2d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      compiler/x86/cgx86.pas

+ 2 - 0
compiler/x86/cgx86.pas

@@ -2352,8 +2352,10 @@ unit cgx86;
     begin
       srcref:=source;
       dstref:=dest;
+{$ifndef i8086}
       make_simple_ref(list,srcref);
       make_simple_ref(list,dstref);
+{$endif not i8086}
       cm:=copy_move;
       helpsize:=3*sizeof(aword);
       if cs_opt_size in current_settings.optimizerswitches then