소스 검색

* 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 년 전
부모
커밋
c961c72c30
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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