diff --git a/compiler/i8086/cpupara.pas b/compiler/i8086/cpupara.pas index d828b5cd75..f24bcb4658 100644 --- a/compiler/i8086/cpupara.pas +++ b/compiler/i8086/cpupara.pas @@ -152,7 +152,7 @@ unit cpupara; { 64-bit types are returned as a parameter pointer, since putting them in registers would require 4 registers on the i8086 } - if def.size > 4 then + if (def.size > 4) and (def.typ <> floatdef) then begin result:=true; exit;