Browse Source

* tarmtypeconvnode.first_int_to_real should call the generic method in the parent class, if soft fpu code is generated, resolves #31350

git-svn-id: trunk@35430 -
florian 8 years ago
parent
commit
c961c72c30
1 changed files with 3 additions and 0 deletions
  1. 3 0
      compiler/arm/narmcnv.pas

+ 3 - 0
compiler/arm/narmcnv.pas

@@ -75,6 +75,9 @@ implementation
         fname: string[19];
       begin
         if (cs_fp_emulation in current_settings.moduleswitches) or
+{$ifdef cpufpemu}
+          (current_settings.fputype=fpu_soft) or
+{$endif cpufpemu}
           (current_settings.fputype=fpu_fpv4_s16) then
           result:=inherited first_int_to_real
         else