Repository activity
40458 results across all weeks
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)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)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)Fix attributes not applying in some module declaration nodes
This PR is related to #15131
Michał Kosior (@crqch)Fix flambda alias analysis (fix #15202)
This is a fix for https://github.com/ocaml/ocaml/issues/15202
Pierre Chambart (@chambart)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)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)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)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)Garbage values being read when using flambda with -Oclassic
Ethan Chou (@echoumcp1)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)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)Implicit source positions
See ocaml/RFCs#52.
Olivier Nicole (@OlivierNicole)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)Inconsistent default constructor disambiguation for recursive type groups
Alistair (@johnyob)Lazy expression as RHS of recursive definition
According to the manual, a recursive definition like
yannl35133MPR#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)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)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)Preserve possible injectivity in variance composition
Fix #15142 in Variance.compose when the outer parameter may be invariant
Demetrios Chiuratto Agourakis (@agourakis82)