Browse Source

* only check suffixsize for byte,word,long

peter 26 years ago
parent
commit
0202416219
1 changed files with 5 additions and 1 deletions
  1. 5 1
      compiler/ra386.pas

+ 5 - 1
compiler/ra386.pas

@@ -271,6 +271,7 @@ begin
      for i:=1to ops do
      for i:=1to ops do
       begin
       begin
         if (operands[i]^.opr.typ<>OPR_CONSTANT) and
         if (operands[i]^.opr.typ<>OPR_CONSTANT) and
+           (operands[i]^.size in [S_B,S_W,S_L]) and
            (operands[i]^.size<>opsize) then
            (operands[i]^.size<>opsize) then
          sizeerr:=true;
          sizeerr:=true;
       end;
       end;
@@ -338,7 +339,10 @@ end;
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.9  1999-08-25 12:00:05  jonas
+  Revision 1.10  1999-12-12 12:59:34  peter
+    * only check suffixsize for byte,word,long
+
+  Revision 1.9  1999/08/25 12:00:05  jonas
     * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu)
     * changed pai386, paippc and paiapha (same for tai*) to paicpu (taicpu)
 
 
   Revision 1.8  1999/08/04 00:23:23  florian
   Revision 1.8  1999/08/04 00:23:23  florian