Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Fix #15160, #15244, segfaults on array index in native code

    The test are generated with claude, the fix is generated by me.

    Stefan Muenzel (@smuenzel)
  2. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Fix #15205, reload needs to preserve equality of registers

    This PR fixes this problem in general, since it is possible that some other instructions which have particular constraints would exhibit this issue as well. I was not able to produce an example with other instructions.

    Stefan Muenzel (@smuenzel)
  3. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Fix Gc.heap_words and Gc.top_heap_words: include pool_freelist

    Gc.heap_words and Gc.top_heap_words: include pool_freelist

    Török Edwin (@edwintorok)
  4. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Fix attributes not applying in some module declaration nodes

    This PR is related to #15131

    Michał Kosior (@crqch)
  5. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Fix flambda alias analysis (fix #15202)

    This is a fix for https://github.com/ocaml/ocaml/issues/15202

    Pierre Chambart (@chambart)
  6. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Fix make stall on macOS GNU Make 3.81

    Fix for macOS make stalling when running make -j. I frequently experience this issue developing on macOS, especially when running parallel re-builds.

    Tim McGilchrist (@tmcgilchrist)
  7. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Fix temporary register overlap for atomic ops in linscan

    The atomic operations (from https://github.com/ocaml/ocaml/pull/14980 and https://github.com/ocaml/ocaml/pull/14575 ) need special handling in the register allocator. In particular, the result registers cannot overlap with the argument registers.

    Stefan Muenzel (@smuenzel)
  8. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Fix untagging of x asr 63 and x lsr 63 in native code

    Fixes #15157. Int64.of_int (x asr 63) and x lsr 63 were compiled as a shift by 64, which amd64 treats as a shift by 0, so you got the tagged value back. I clamped the asr to 63 and made lsr 63 return zero, so both stay a single instruction instead of just dropping the fold. Tested on amd64 and arm64 with the CI flags, new test in basic/shift_untag.ml fails o…

    Zane Hambly (@Zaneham)
  9. IssueW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Flambda compilation of a large `.ml` file with `ocamlopt.byte` takes a long time whereas normal compilation doesn't

    (This issue report is initially written with AI, but I rewrote it properly so that it doesn't include weird texts)

    Juneyoung Lee (@aqjune)
  10. IssueW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Garbage values being read when using flambda with -Oclassic

    Ethan Chou (@echoumcp1)
  11. IssueW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Gc.heap_words is inaccurate (pool_freelist.free is unaccounted for)

    On OCaml 5.5.1 memory usage reported by the OS (e.g. as RSS) can be a lot higher than memory reported by Gc.heap_words * word_size.

    Török Edwin (@edwintorok)
  12. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Head shapes and constructor unboxing

    This PR implements a variant of the "constructor unboxing" feature proposed by Jeremy Yallop (@yallop) in RFC #14 in March 2020, which extends the current [@@unboxed] annotation for single-constructor variant types (or single-field record types). A first experimental implementation of this feature was done Nicolas Chataing (@nchataing) in Summer 2021. I reba…

    Gabriel Scherer (@gasche)
  13. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Implicit source positions

    See ocaml/RFCs#52.

    Olivier Nicole (@OlivierNicole)
  14. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Improve handling of stupidly large input files in the backend

    This PR makes some of the key backend passes tail-recursive, at least in the Iop case.

    Vincent Laviron (@lthls)
  15. IssueW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Inconsistent default constructor disambiguation for recursive type groups

    Alistair (@johnyob)
  16. IssueW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Lazy expression as RHS of recursive definition

    According to the manual, a recursive definition like

    yannl35133
  17. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    MPR#7352,7353: ocamldoc, better paragraphs in html

    Companion PR to #802, this PR makes the generation of paragraph <p> tags in ocamldoc html backend much more regular.

    Florian Angeletti (@Octachron)
  18. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Optimize Weak.blit into ephemerons with many keys

    I made a comment on #15033 about this, but since that is merged figured it would be more efficient to just send a PR.

    Josh Berdine (@jberdine)
  19. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Performance improvements for large object types in #15163

    Note: for discussion only for now. It's too much to merge to 5.6

    Stefan Muenzel (@smuenzel)
  20. Pull requestW44.2026 · 26 Oct – 1 Novocaml/ocaml

    Preserve possible injectivity in variance composition

    Fix #15142 in Variance.compose when the outer parameter may be invariant

    Demetrios Chiuratto Agourakis (@agourakis82)