Thicket thicket
ocaml
REPOS 5

OxCaml covers the compiler extensions and their supporting tools and packages.

W16.2025 · 14–20 Aproxcaml/oxcaml

Features

  • Oxcaml CMM code generation: Ongoing audit of bind usage in cmm_helpers.ml to remove unnecessary let-bindings that suppress peephole optimizations for array indexing (int_array_ref, array_indexing). Tracked in issue #3718, updated 2025-04-16.

Fixes

  • Oxcaml Flambda2 unsafe indexing: Opened issue #3889 (2025-04-17) reporting that unsafe indexing by unboxed nativeint or larger types truncates the index instead of segfaulting on out-of-bounds access. Proposed fix: change indexing arguments from Naked_immediate to Naked_nativeint.

  • Oxcaml CMM unboxed conversion: Opened issue #3888 (2025-04-17) noting that unboxed int64 → int conversion emits a redundant inner sign-extension in lsl_int, degrading generated code.

  • Oxcaml build under Clang 18: #3841 closed 2025-04-14. The build failed with -Werror,-Wunused-variable in runtime/unix.c when compiled with --enable-address-sanitizer and CC=clang.