Sfoglia il codice sorgente

* 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 anni fa
parent
commit
c961c72c30
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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