Explorar o código

* 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 %!s(int64=8) %!d(string=hai) anos
pai
achega
c961c72c30
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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