Browse Source

* Suppress Comaprison might be always false if first_mm_imreg is zero

git-svn-id: trunk@19584 -
pierre 13 years ago
parent
commit
b6de7f0d6b
3 changed files with 11 additions and 1 deletions
  1. 4 0
      compiler/ncgcal.pas
  2. 3 0
      compiler/ncgutil.pas
  3. 4 1
      compiler/paramgr.pas

+ 4 - 0
compiler/ncgcal.pas

@@ -273,6 +273,10 @@ implementation
                              TCGCALLNODE
 *****************************************************************************}
 
+{$if first_mm_imreg = 0}
+  {$WARN 4044 OFF} { Comparison might be always false ... }
+{$endif}
+
     procedure tcgcallnode.extra_interrupt_code;
       begin
       end;

+ 3 - 0
compiler/ncgutil.pas

@@ -190,6 +190,9 @@ implementation
 {*****************************************************************************
                                   Misc Helpers
 *****************************************************************************}
+{$if first_mm_imreg = 0}
+  {$WARN 4044 OFF} { Comparison might be always false ... }
+{$endif}
 
     procedure location_free(list: TAsmList; const location : TLocation);
       begin

+ 4 - 1
compiler/paramgr.pas

@@ -238,6 +238,9 @@ implementation
         result:=[];
       end;
 
+{$if first_mm_imreg = 0}
+  {$WARN 4044 OFF} { Comparison might be always false ... }
+{$endif}
 
     procedure tparamanager.allocparaloc(list: TAsmList; const paraloc: pcgparalocation);
       begin
@@ -435,7 +438,7 @@ implementation
         p.init_paraloc_info(callbothsides);
         result:=p.calleeargareasize;
       end;
-      
+
 
     function tparamanager.parseparaloc(parasym: tparavarsym; const s: string): boolean;
       begin