Browse Source

* similiar fix for i386 as done in r34984 for x86-64

git-svn-id: trunk@35016 -
florian 8 years ago
parent
commit
d0b2701693
1 changed files with 4 additions and 0 deletions
  1. 4 0
      compiler/x86/cpubase.pas

+ 4 - 0
compiler/x86/cpubase.pas

@@ -388,6 +388,10 @@ implementation
             cgsize2subreg:=R_SUBMMX;
             cgsize2subreg:=R_SUBMMX;
           OS_M256,OS_MS256:
           OS_M256,OS_MS256:
             cgsize2subreg:=R_SUBMMY;
             cgsize2subreg:=R_SUBMMY;
+          OS_NO:
+            { error message should have been thrown already before, so avoid only
+              an internal error }
+            cgsize2subreg:=R_SUBNONE;
           else
           else
             internalerror(200301231);
             internalerror(200301231);
         end;
         end;