diff options
Diffstat (limited to 'extra/ocaml/fix-caml_int64_float_of_bits-n32.patch')
-rw-r--r-- | extra/ocaml/fix-caml_int64_float_of_bits-n32.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/ocaml/fix-caml_int64_float_of_bits-n32.patch b/extra/ocaml/fix-caml_int64_float_of_bits-n32.patch new file mode 100644 index 000000000..98755d30b --- /dev/null +++ b/extra/ocaml/fix-caml_int64_float_of_bits-n32.patch @@ -0,0 +1,12 @@ +--- ocaml-3.12.0.orig/byterun/ints.c 2011-06-25 18:03:21.548733206 +0200 ++++ ocaml-3.12.0/byterun/ints.c 2011-06-25 22:34:17.304788306 +0200 +@@ -585,6 +585,9 @@ + return caml_copy_int64(u.i); + } + ++#ifdef _ABIN32 ++__attribute__((optimize(0))) ++#endif + CAMLprim value caml_int64_float_of_bits(value vi) + { + union { double d; int64 i; int32 h[2]; } u; |