Browse Source

* completely disable records containing float fields in registers again, as
the code generator does not support subsetreg loads of floats

git-svn-id: trunk@45800 -

Jonas Maebe 5 years ago
parent
commit
3e9e0a0f7d
1 changed files with 3 additions and 4 deletions
  1. 3 4
      compiler/symdef.pas

+ 3 - 4
compiler/symdef.pas

@@ -2352,10 +2352,9 @@ implementation
                  not trecorddef(self).contains_cross_aword_field and
                  not trecorddef(self).contains_cross_aword_field and
                  { records cannot go into registers on 16 bit targets for now }
                  { records cannot go into registers on 16 bit targets for now }
                  (sizeof(aint)>2) and
                  (sizeof(aint)>2) and
-                 (not trecorddef(self).contains_float_field) or
-                  (recsize <= sizeof(aint))
-                 ) and
-                 not needs_inittable;
+                 not trecorddef(self).contains_float_field
+                ) and
+                not needs_inittable;
 {$endif cpuhighleveltarget}
 {$endif cpuhighleveltarget}
             end;
             end;
           else
           else