| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
documentation: sort modules alphabetically
fixes #11857
(cherry picked from commit 14004c6d4bedadb7215ded2c77230270e52307ff)
|
| |
|
|
|
|
|
|
|
|
|
| |
Refactor the initialization of bytecode threading
Use a function `caml_init_thread_code` instead of exposing global variables
`caml_instr_table` and `caml_instr_base`.
This should silence the GCC 12 "dangling-pointer" warning.
Fixes: #11358
|
| |\
| |
| | |
Free the alternate signal stack on termination [4.13 version]
|
| |/
|
|
|
| |
Back-port PR#10726 and PR#10892 for 4.13. Free the alternate signal stack
when the main OCaml code / an OCaml thread stops.
|
| | |
|
| | |
|
| | |
|
| |\
| |
| | |
Fix Btype.is_row_name
|
| | | |
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Weirdly enough, this example behaves differently depending on whether the repro case is passed as a relative or absolute path.
```
$ ROOT=../../.. ; $ROOT/runtime/ocamlrun $ROOT/ocamlc -nostdlib -I $ROOT/stdlib -c ./pr10661_bad.ml
Fatal error: exception File "typing/signature_group.ml", line 52, characters 19-25: Assertion failed
$ ROOT=../../.. ; $ROOT/runtime/ocamlrun $ROOT/ocamlc -nostdlib -I $ROOT/stdlib -c $(pwd)/pr10661_bad.ml
File "/home/gasche/Prog/ocaml/github-4.13/testsuite/tests/typing-modules-bugs/pr10661_bad.ml", line 1:
Error: The implementation /home/gasche/Prog/ocaml/github-4.13/testsuite/tests/typing-modules-bugs/pr10661_bad.ml
does not match the interface (inferred signature): ... In module M:
The type `#row' is required but not provided
File "/home/gasche/Prog/ocaml/github-4.13/testsuite/tests/typing-modules-bugs/pr10661_bad.ml", lines 9-10, characters 2-5:
Expected declaration
```
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
manual: Fix inconsistent styling in typedecl.html
(cherry picked from commit 38b9d45f66991c22e05b38ec5963e1b924144529)
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Allow the C compiler to be overidden for sak
(cherry picked from commit 8a3347438b904d6970bd6799963812609da2cbac)
|
| |
|
|
|
|
| |
Ensure -fPIC doesn't get passed to an assembler
(cherry picked from commit 0d4065b749f3ff5c347eb824f180c3e1591841ec)
|
| |
|
|
|
|
|
|
|
|
| |
(#10628)
Force reload into a register if needed.
This was correctly done in the i386 port.
Fixes: #10626
(cherry picked from commit 531bb0400eb1328c84314a813dcc1521113e6275)
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
manual: don't mix up library modules and language extensions
(cherry picked from commit 6a12ddb222874713b69b181416159ca2653405cb)
|
| |
|
|
|
|
|
|
|
|
| |
* use css classes in syntax environment
* manual: name all css classes outside of tables
* webman: fix chapter identification
* manual: use \textnormal to remove font style
* manual: unify machine and tt environment on the html side
(cherry picked from commit 1be4fa768f84f4cc04a289d2b766665e832d096f)
|
| |
|
|
|
| |
manual: keep white spaces in error messages
(cherry picked from commit 3e85887d681db8ca5ac77c96d53a9383c918b51d)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The if condition was marked as systematically inconstant. This was not
often problematic since most of the time this means that the if is
eliminated by simplify. But this is not the case in let rec's where
the approximation of the value is not known by simplify.
But the problem is noticeable in this example
type t = A | B of (int -> int)
let p = 1 + 1
let rec b = B g
and g n =
let b' = b in
match b' with
| A -> n + p
| B f -> f n
The inconstant_ident pass correctly identifies b and g as constants, but
marks b' as inconstant due to this bug (because match on this kind of
type is compiled as an if). When lifting the definition of g into a
let_rec_symbol, the alias_analysis does not keep the alias of b' to b
because b' is considered as inconstant. Hence no substitution is applied
to it. This leads to building a closed function with free variables,
which is obviously wrong.
(cherry picked from commit b8efbfb0eb6c5b7770abfbe474131a56c16d1d01)
|
| |
|
|
|
|
| |
Fix regression introduced by #9960
(cherry picked from commit cffde3184df1866b17213d7735410068d77854ed)
|
| |
|
|
|
|
| |
Correctly configure Cygwin when flexdll missing
(cherry picked from commit ba4dad634b696aa5a1eb7666cb6b8bd5dfe9b574)
|
| |
|
|
|
|
| |
Tweak configure for supporting arm32 archs with musl
(cherry picked from commit 1271f676e776ba96d1fe6c920f777f323a02f822)
|
| |
|
|
|
|
| |
Fix lack of iconv on Cygwin and build performance regression on Windows
(cherry picked from commit 3a0b1b1e15bc2f33bc471255826d3672b5b27aa9)
|
| |
|
|
|
|
| |
Fix html manual post-processing
(cherry picked from commit 5ba9e0e0d67d59bf5240089c956be3ceb2353b4e)
|
| |
|
|
|
|
| |
Fix untypeast for patterns
(cherry picked from commit dbce6c200febdd2404eb2cc0f7316a4a401427b1)
|
| |
|
|
|
|
| |
Fix manpages build when libraries are disabled
(cherry picked from commit 2c7c86adce617b3d91b4bbaba4b76dfec772763d)
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Stack overflow detection and naked pointers checking for ARM64 (Linux and macOS)
(cherry picked from commit 672965bfda6220c690d26ff6a0b7a9a59519d9af)
|
| |
|
|
| |
(cherry picked from commit 1bd0e663b6fcd72879172e176b32b3a9efddad2d)
|
| |
|
|
|
|
| |
CSS adjustments in post-processed HTML manual
(cherry picked from commit f0d61fa106f9cb6a11a36852ca44cf7d33d7ca10)
|
| |
|
|
|
|
| |
Fix configure on Windows with non C-locale characters
(cherry picked from commit da44d603ab37070bd1d8611889c26674b1e88c67)
|
| |
|
|
|
|
| |
Make #directory add directories to the start/left of the load path rather than the end/right.
(cherry picked from commit 4b6c210dda6a55a76af26f4c55a59814e7b6a0d7)
|
| |
|
|
| |
(cherry picked from commit a6a071c2f8d6b3fe27ce45c061323f8d0bdfcede)
|
| |
|
| |
Co-authored-by: Nicolás Ojeda Bär <n.oje.bar@gmail.com>
|
| |
|
|
|
| |
webman: Remove chapter number on subsubsection correctly
(cherry picked from commit 82755626a40006c1326c1256bf65e61a9f29a1c7)
|
| |
|
|
|
|
| |
minor fix: mkdir before copying CSS for webman
(cherry picked from commit d5ae88280d55d5f5d4314cf1a6ffc0e47d644846)
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Inserting poll point adds new control paths: a poll can raise an
exception that is handled by a try...with in the same function.
As #10520, this can invalidate optimizations performed before poll
point insertion, such as dead code elimination.
This commit moves the Polling pass just after the Selection pass,
before all optimization passes.
Fixes: #10520
(cherry picked from commit f203a5d45dd32216596d3de1f5fd02cd8cab6f7b)
|