Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW43.2026 · 19–25 Octocaml/ocaml

    Fix evaluation order of values used as field of an allocation with flambda

    There is a bug with flambda (both flambda2 and flambda1) that can mix up the order of evaluation of values used as fields of an allocation (see https://github.com/oxcaml/oxcaml/pull/7562 for the flambda2 fix).

    Guillaume Bury (@Gbury)
  2. Pull requestW43.2026 · 19–25 Octocaml/ocaml

    Fix for OSEC-2026-26

    Custom events maintains a cache of user events, it is possible to have a corrupt stream that has a valid message with one message type (which can be custom/unit/span/int) and then has the same event with a different message type.

    Sadiq Jaffer (@sadiqj)
  3. Pull requestW43.2026 · 19–25 Octocaml/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)
  4. Pull requestW43.2026 · 19–25 Octocaml/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)
  5. Pull requestW43.2026 · 19–25 Octocaml/ocaml

    Fix write to ring hang in runtime events

    Fixes #15043.

    Tim McGilchrist (@tmcgilchrist)
  6. IssueW43.2026 · 19–25 Octocaml/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)
  7. Pull requestW43.2026 · 19–25 Octocaml/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)
  8. Pull requestW43.2026 · 19–25 Octocaml/ocaml

    Improve typing error messages for Duplicate_constructor and Duplicate_label

    This PR is a continuation of work in #15120.

    Michał Kosior (@crqch)
  9. ReleaseW43.2026 · 19–25 Octocaml/ocaml

    OCaml 5.5.2

    This patch release contains several security fixes:

    Florian Angeletti (@Octachron)
  10. IssueW43.2026 · 19–25 Octocaml/ocaml

    Parallel Sys calls may cause a hang

    When extending the Sys tests in multicoretests I've encountered that executing parallel tests may cause such tests to hang indefinitely on macOS.

    Jan Midtgaard (@jmid)
  11. Pull requestW43.2026 · 19–25 Octocaml/ocaml

    Preserve possible injectivity in variance composition

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

    Demetrios Chiuratto Agourakis (@agourakis82)
  12. Pull requestW43.2026 · 19–25 Octocaml/ocaml

    Re-implement weak hashsets using open-addressing with linear probing.

    The Weak.Make module of the standard library provides "weak hashsets", sets of elements that are only kept alive if something else in the program keeps them alive. The typical use-case is to implement hash-consing: whenever building a new term, look for an equivalent term that would already be in the hashset and use it instead, increasing memory sharing. Has…

    Gabriel Scherer (@gasche)
  13. Pull requestW43.2026 · 19–25 Octocaml/ocaml

    Revert "Merge pull request #14996 from MisterDA/autoconf-2.72-C++"

    This reverts commit a878eccb92cd95f96e9436e7b4958ecde3426563, reversing changes made to e20578d84c4920797d5c0875d20da20eb6950ff1, due to the build being broken when there is no C++ toolchain available. See https://github.com/ocaml/ocaml/pull/14996#issuecomment-6374908326.

    Olivier Nicole (@OlivierNicole)
  14. IssueW43.2026 · 19–25 Octocaml/ocaml

    Runtime_events producer: missing bounds check on user event write

    The following segfaults:

    Török Edwin (@edwintorok)
  15. Pull requestW43.2026 · 19–25 Octocaml/ocaml

    Scanf.unescaped: handle missing escapes

    The function Scanf.unescaped is supposed to implement, at runtime, the same conventions that the lexer implements at compile-time. However, currently, it did not support the full set of escapes that are supported by the lexer. This PR rectifies this:

    Nicolás Ojeda Bär (@nojb)
  16. Pull requestW43.2026 · 19–25 Octocaml/ocaml

    Size the runtime_events ring path buffer in char_os

    Give the path its own bound in char_os, scale the allocation by sizeof(char_os), and report a path that does not fit rather than truncating it silently.

    Tim McGilchrist (@tmcgilchrist)
  17. IssueW43.2026 · 19–25 Octocaml/ocaml

    Total matches with redundant cases containing or and when clauses may cause fatal error

    Note: these examples were found with claude

    Stefan Muenzel (@smuenzel)
  18. Pull requestW43.2026 · 19–25 Octocaml/ocaml

    [v2] configure: use Autoconf support for detecting the C++ compiler

    Re-landing of #14996 after it was reverted in #15193.

    Antonin Décimo (@MisterDA)
  19. IssueW43.2026 · 19–25 Octocaml/ocaml

    `ocamlopt -linscan` miscompiles `Atomic.compare_and_set` on amd64

    Alperen Keleş (@alpaylan)
  20. Pull requestW43.2026 · 19–25 Octocaml/ocaml

    configure: use Autoconf support for detecting the C++ compiler

    The C++ compiler detection is currently only enabled when ocamltest is enabled. We re-use the C compiler front-end by passing the -xc++ option of GCC and Clang to make sure the same toolchain is used for C and C++.

    Antonin Décimo (@MisterDA)