Proposed: -strict flag for ocamldep exits non-zero on errors (missing file, parse error) and suppresses output. (#15167, open)
Compatibility and Releases
OCaml 5.6 trunk: severe compilation slowdown (30+ min) on large classes with heavy ppxlib use, traced to variance checking. PR reduces the case from ~12 min to ~55 s. (#15172, open)
Fixes
Merged: Atomic.exchange and Atomic.compare_and_set emit native instructions for immediate values on all five backends. Single-domain exchange drops from 1.36 s to 0.51 s on amd64. (#14980)
Merged: the bytecode compiler caches getcwd once per source file instead of per debug event. On macOS this cuts system time by roughly 80 % for large bytecode builds. (#15140)
ocamlopt miscompiles asr 63 and lsr 63 when the result is immediately untagged (e.g. via Int64.of_int), producing wrong values. Bug dates to 1999; no fix PR open. (#15157, open)
A soundness bug in variance composition lets a bivariant parameter inside an invariant GADT parameter escape invariance, enabling Obj.magic-equivalent unsoundness. PR proposes a stricter check. (#15165, open)
A race between Gc.finalise_last and the minor GC can cause segfaults or heap corruption. PR promotes cross-domain values before the barrier. (#15153, open)
Merged: Seq.ints_in_range no longer overflows for ranges ending at max_int. Cherry-picked to 5.6. (#15173)