Ver Fonte

* fixed <> comparisons with NaNs (use LLVM "unordered" comparison: succeed
if either operand is a NaN)

git-svn-id: trunk@40602 -

Jonas Maebe há 6 anos atrás
pai
commit
c55ffa8cc7
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      compiler/llvm/nllvmadd.pas

+ 1 - 1
compiler/llvm/nllvmadd.pas

@@ -261,7 +261,7 @@ implementation
               equaln:
                 llvmfpcmp:=lfc_oeq;
               unequaln:
-                llvmfpcmp:=lfc_one;
+                llvmfpcmp:=lfc_une;
               else
                 internalerror(2015031506);
             end;