Features
-
Formally verified SSA loop deletion and bounds-check elimination (proposal). Two new passes,
-ssa-delete-empty-loopsand-ssa-bounds-check-elim, derive their decisions from OCaml extracted from a Rocq development that proves soundness. Off by default; noAdmittedstatements. #7802 -
Dereference and address patterns (experimental, in progress).
deref_patterns reference a record field's or tuple element's address;addr_/addr_imm_patterns match an address against its contents. Parsing and type-checking merged; lambda translation and warning refinements are open. #7707, #7731, #7776 -
Mode polymorphism: typing and printing (experimental, in progress). Mode variables
'm, bounds[< … > …], and morphismspast/closeare now parsed, typed, and printed with alias sharing. Currying constraints are generated implicitly. #7503, #7771 -
Feedback-directed optimization counters (research direction). New
Fdo_counter_identityandFdo_countertypes define function/position identities for pseudo-instrumentation; a companion pass inserts callsite and branch counters during closure conversion. #7530, #7729 -
Zero-allocation backend: conditional call-site reasoning (proposal). The backend now propagates
[@@zero_alloc conditional]obligations through call sites, so e.g.List.iter ignore xsis recognised as non-allocating. #7722 -
-ffp-contract=on|offfor arm64 (proposal). Controls whether the arm64 selector contracts nested binary64 multiply-add/subtract into FMA. Defaults toon;offemits separatemul+add. Also settable viaOCAMLPARAM ffp-contract. #7813
Fixes
Compatibility and Releases
Stdlib.Effects.Saferenamed toYielding(proposal). TheSafeAPI does not guarantee all effects are handled; the rename and a doc comment make the contract explicit. Tests using reperforming behaviour now useWith_handler. #7764