Quellcode durchsuchen

Only try to use softfpu functions when fputype is fpu_soft

git-svn-id: trunk@45751 -
pierre vor 5 Jahren
Ursprung
Commit
96ac7f29f7
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      compiler/arm/narmcnv.pas

+ 2 - 2
compiler/arm/narmcnv.pas

@@ -113,8 +113,8 @@ implementation
 
     function tarmtypeconvnode.first_real_to_real: tnode;
       begin
-        if not(FPUARM_HAS_VFP_DOUBLE in fpu_capabilities[current_settings.fputype]) and
-          not (target_info.system in systems_wince) then
+        if (current_settings.fputype=fpu_soft) and
+           not (target_info.system in systems_wince) then
           begin
             case tfloatdef(left.resultdef).floattype of
               s32real: