Gabriel Scherer
2c7d5ae89f
update Changes
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15603 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-23 09:18:01 +00:00
Gabriel Scherer
e98ee03205
fix regression in toplevel printing of lazy values
...
(fix from Leo White)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15602 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-23 09:17:59 +00:00
Gabriel Scherer
b14de1e93a
ocamlbuild: add an explicit "infer" tag for menhir (Patch by Hugo Heuzard)
...
This allows to prevent the --infer option from being passed to Menhir
by using the negative tag -infer.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15598 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-18 09:35:41 +00:00
Gabriel Scherer
9db301d185
specialize_comparison: also specialize bool and all-constant-constructors types
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15596 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-17 18:18:21 +00:00
Gabriel Scherer
f32f677f5a
minor sed portability fix...
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15595 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-17 13:05:31 +00:00
Gabriel Scherer
825e6665b6
update Changes
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15594 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-17 12:36:07 +00:00
Gabriel Scherer
7e81339714
bootstrap
...
From: Gabriel Scherer <gabriel.scherer@gmail.com>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15593 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-17 12:21:51 +00:00
Gabriel Scherer
2922831951
New primitive: caml_alloc_dummy_function ... caml_alloc_dummy_function takes the function arity as a second argument. This new information can be used by js_of_ocaml to perform better optimization.
...
From: Hugo Heuzard <hugo.heuzard@gmail.com>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15592 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-17 12:21:49 +00:00
Gabriel Scherer
b0b1922aac
Update documentation of Sys.int_size
...
From: hhugo <hugo.heuzard@gmail.com>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15591 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-17 12:21:48 +00:00
Gabriel Scherer
8b59f8faef
Sys: Use constant for some runtime limitations. After bootstrap
...
From: Hugo Heuzard <hugo.heuzard@gmail.com>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15590 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-17 12:21:46 +00:00
Gabriel Scherer
82df1b9fb9
bootstrap
...
From: Gabriel Scherer <gabriel.scherer@gmail.com>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15589 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-17 12:21:23 +00:00
Gabriel Scherer
638a953bcf
Sys: Use constant for some runtime limitations.
...
It allows to have non-standard limits for non-standard runtime.
ie: js_of_ocaml use 32bits integer, and can handle
string much bigger than 16Mo.
From: Hugo Heuzard <hugo.heuzard@gmail.com>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15588 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-17 12:19:27 +00:00
Gabriel Scherer
e65b8d2319
bootstrap
...
From: Gabriel Scherer <gabriel.scherer@gmail.com>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15587 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-17 12:19:22 +00:00
Gabriel Scherer
7fa3f30114
update magic numbers
...
Numbers and .mlbuild and .mlp were not always synchronized; I only
changed the typedtree-related numbers, but used the max of both +1 on
both sides -- the .cm{o,a,x}... numbers are still non-synchronized.
From: Gabriel Scherer <gabriel.scherer@gmail.com>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15586 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-17 12:19:17 +00:00
Gabriel Scherer
7f5d60adba
Add translprim testsuite
...
From: Frederic Bour <frederic.bour@lakaban.net>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15585 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-17 12:05:35 +00:00
Gabriel Scherer
a0f1d3e171
testsuite/makefiles: a more robust -dlambda test
...
From: Gabriel Scherer <gabriel.scherer@gmail.com>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15584 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-17 12:05:33 +00:00
Gabriel Scherer
a9b0358f8c
Translcore.transl_primitive: enable type-directed optimizations
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15583 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-17 12:04:32 +00:00
Gabriel Scherer
7bacc5beb4
Typedtree: add type information to primitive coercions
...
This will enable type-directed optimizations during translation of
module coercions.
WARNING: this breaks Typedtree representation, magic number will have to
be adjusted.
From: Frederic Bour <frederic.bour@lakaban.net>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15582 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-17 11:55:24 +00:00
Gabriel Scherer
42b215c79e
Printlambda: print array kind with array primitives
...
From: Frederic Bour <frederic.bour@lakaban.net>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15581 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-17 11:53:53 +00:00
Gabriel Scherer
eece1bbe45
Add punning for object copying expressions.
...
From: Jeremy Yallop <yallop@gmail.com>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15580 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-16 17:52:26 +00:00
Gabriel Scherer
8591c2532e
missing @since on List.sort_uniq
...
From: Simon Cruanes <simon.cruanes.2007@m4x.org>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15579 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-16 17:39:50 +00:00
Gabriel Scherer
a699625e78
fix for ocamlbuild on cygwin cannot find ocamlfind
...
ocamlbuild should append .exe extension to filename when looking for
executables and Sys.cygiwn is set (not only Sys.win32).
From: algoriddle <szilvasy@gmail.com>
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15577 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-16 17:37:25 +00:00
Jacques Garrigue
dcb6a4dd7e
tentative fix of PR#6651
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15576 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-12 11:59:23 +00:00
Jacques Garrigue
88fadf06bc
add repro case for PR#51
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15575 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-12 09:14:14 +00:00
Jacques Garrigue
18ed39fb36
Fix PR#6650: Cty_constr not handled correctly by Subst
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15574 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-10 09:43:30 +00:00
Jacques Garrigue
5adbb67a45
PR#6648: show_module should indicate its elision (add Osig_ellipsis to outcometree)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15573 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-10 09:09:23 +00:00
Luc Maranget
4fdd5dd354
Oups.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15571 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-07 15:29:48 +00:00
Luc Maranget
3bded3f977
Solve PR#6646, ie avoid introducing huge jump summaries
...
and unshared default clauses in the presence of many (>= 32) non-matched
constructors.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15570 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-11-07 14:13:53 +00:00
Damien Doligez
94dfb61c09
fix a bug where the .annot files were truncated because of a missing "close"
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15565 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-29 21:18:14 +00:00
Damien Doligez
abcd4e8f90
PR#6628: Configure script rejects legitimate arguments
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15562 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-29 16:29:18 +00:00
Jérémie Dimino
98e0051f5c
PR#6619: update documentation of Printexc.set_uncaught_exception_handler
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15560 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-20 13:15:33 +00:00
Jacques Garrigue
792c92d1a0
Fix PR#6615: inconsistent printing and parsing of inline records
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15559 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-17 01:48:12 +00:00
Damien Doligez
031cffd155
merge branch 4.02 from release 4.02.0 to release 4.02.1
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15558 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-15 13:34:58 +00:00
Alain Frisch
e3ad818fb5
Reintegrate-merge constructors_with_record5 branch.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15556 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-14 15:51:30 +00:00
Alain Frisch
ba1f91352e
Sync.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record5@15555 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-14 15:40:09 +00:00
Alain Frisch
5a8fd350ca
Minimal support for inlined records for the texi backend.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record5@15554 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-14 15:35:31 +00:00
Alain Frisch
c5ef8ad49d
Minimal support for inlined records for the man backend.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record5@15553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-14 15:34:22 +00:00
Alain Frisch
6513ec9dd8
Minimal support for inlined records (displayed as {...}) for the latex backend.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record5@15552 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-14 15:32:14 +00:00
Alain Frisch
ba91d29558
Some minimal support for inline records in the html backend.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record5@15551 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-14 15:27:42 +00:00
Alain Frisch
bd618eef58
Plumbing into ocamldoc. Annotations are still not collected in inlined records, and all backends fail on inline records.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record5@15550 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-14 15:03:41 +00:00
Alain Frisch
65d07466f9
Bug fix.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record5@15549 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-14 14:19:05 +00:00
Alain Frisch
2ef9c9f592
Accept changes.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record5@15548 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-14 13:18:06 +00:00
Alain Frisch
ebe39fb4e8
Empty ident is not allowed.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record5@15547 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-14 13:17:22 +00:00
Alain Frisch
a8fc270033
Name of exceptions can no longer be duplicated.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record5@15543 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-14 12:46:22 +00:00
Alain Frisch
1f8861d87e
Cleanup.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record5@15539 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-14 10:32:45 +00:00
Alain Frisch
303b24e093
Sync with trunk.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record5@15538 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-14 10:18:33 +00:00
Alain Frisch
d5e19a5d5c
Error message.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record5@15537 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-14 08:24:40 +00:00
Alain Frisch
99c29b3b67
Adapt test.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record5@15536 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-14 08:23:20 +00:00
Alain Frisch
f6440b2760
Adapt test.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/constructors_with_record5@15535 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-14 08:21:50 +00:00
Xavier Leroy
a4e637ea62
Reflecting commit 15498 on version/4.02:
...
PR#6588 part 2: for ARMv4 and ARMv5, make sure architectural constraints
on the "smull" instruction are respected. (Patch by Mark Shinwell.)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15531 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-10-13 09:07:29 +00:00