aboutsummaryrefslogtreecommitdiffstats
path: root/cfrontend
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@inria.fr>2019-02-13 18:53:17 +0100
committerXavier Leroy <xavierleroy@users.noreply.github.com>2019-03-27 11:38:25 +0100
commit0f919eb26c68d3882e612a1b3a9df45bee6d3624 (patch)
treeb8bcf57e06d761be09b8d2cf2f80741acb1e4949 /cfrontend
parentd5c0b4054c8490bda3b3d191724c58d5d4002e58 (diff)
downloadcompcert-kvx-0f919eb26c68d3882e612a1b3a9df45bee6d3624.tar.gz
compcert-kvx-0f919eb26c68d3882e612a1b3a9df45bee6d3624.zip
Upgrade embedded version of Flocq to 3.1.
Main changes to CompCert outside of Flocq are as follows: - Minimal supported version of Coq is now 8.7, due to Flocq requirements. - Most modifications are due to Z2R being dropped in favor of IZR and to the way Flocq now handles NaNs. - CompCert now correctly handles NaNs for the Risc-V architecture (hopefully).
Diffstat (limited to 'cfrontend')
-rw-r--r--cfrontend/C2C.ml8
1 files changed, 4 insertions, 4 deletions
diff --git a/cfrontend/C2C.ml b/cfrontend/C2C.ml
index d70c4dad..206ba421 100644
--- a/cfrontend/C2C.ml
+++ b/cfrontend/C2C.ml
@@ -667,12 +667,12 @@ let z_of_str hex str fst =
let checkFloatOverflow f typ =
match f with
- | Fappli_IEEE.B754_finite _ -> ()
- | Fappli_IEEE.B754_zero _ ->
+ | Binary.B754_finite _ -> ()
+ | Binary.B754_zero _ ->
warning Diagnostics.Literal_range "magnitude of floating-point constant too small for type '%s'" typ
- | Fappli_IEEE.B754_infinity _ ->
+ | Binary.B754_infinity _ ->
warning Diagnostics.Literal_range "magnitude of floating-point constant too large for type '%s'" typ
- | Fappli_IEEE.B754_nan _ ->
+ | Binary.B754_nan _ ->
warning Diagnostics.Literal_range "floating-point converts converts to 'NaN'"
let convertFloat f kind =