Features
-
Five compiler releases added to opam:
5.2.0minus-38,5.2.0minus-39,5.2.0minus-40,5.4.0-ox1,5.4.0-ox2. The 5.4.0 builds are installable but no packages build against them yet. (#54, merged) -
DWARF debugging for Flambda 2: merged fixes for stack offsets,
-ddebug-avail-setsflag,Cmm.symbolfor phantom expressions, entry-value operators, andsize_of_expression. Open PRs add phantom-let translation, availability ranges, and inlined-frame DIEs. (#6510–#6527) -
arm64:
stlr/stlurreplacesdmb ishld; strfor 64-bit non-value stores. Measured 4.18× speedup on NVIDIA Vera fannkuchredux; removes ~73 % backend stall from per-store fences. (#6538, open) -
Adaptive recursive-module unroll depth:
check_recmodule_inclusionevaluates depth 1, 2, then N; first success is used. A 1145-member group drops from 30.9 GiB / 8 m 38 s to 1.44 GiB / 13.8 s. (#6532, open) -
Functional mode polymorphism: adds levels,
generalize,copy, andupdate_levelto the mode solver. Gated behind-extension mode_polymorphism_alpha; polymorphic mode variables print as[< 'm]/[> 'm]. (#5483 et al., open) -
Compact frametables: short descriptor format, ULEB128 deltas, and linker de-duplication reduce rodata by 40 % and executable size by 8 % on a 3 GiB binary. (#6399, open)
Fixes
-
GADT calling-convention soundness: parameter value kinds were taken from the first GADT case only, causing a segfault at
-O3when a caller selected a different case. The fix joins layouts across all cases. (#6533, open) -
CFG CSE no longer hoists mutable loads over atomic loads or
lfence/mfence. Barrier operations are now classified as invalidating. (#6433, #6476, merged)
Compatibility and Releases
5.2.0minus-39(Jane 130.106+341) is the recommended release.5.2.0minus-38(Jane 130.100+614) resolves theocaml_intrinsics_kernelbuild failure tracked in #46.