From cfea5eea406ba3af96588ff458e55de9a149d9c5 Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Sun, 1 Apr 2012 20:14:41 +0200 Subject: Prepare release --- lib/compiler/doc/src/notes.xml | 69 ++++++++++++++++++++++++++++++++++++++++++ lib/compiler/vsn.mk | 2 +- 2 files changed, 70 insertions(+), 1 deletion(-) (limited to 'lib/compiler') diff --git a/lib/compiler/doc/src/notes.xml b/lib/compiler/doc/src/notes.xml index 3f53a71764..e2a921a6f2 100644 --- a/lib/compiler/doc/src/notes.xml +++ b/lib/compiler/doc/src/notes.xml @@ -31,6 +31,75 @@

This document describes the changes made to the Compiler application.

+
Compiler 4.8.1 + +
Fixed Bugs and Malfunctions + + +

+ In rare circumstance, the compiler could crash when + compiling a case statement. (Thanks to Hakan Mattsson.)

+

+ Own Id: OTP-9842

+
+ +

Calling a guard test (such as is_list/1) from the + top-level in a guard, would cause a compiler crash if + there was a local definition with the same name. + Corrected to reject the program with an error + message.

+

+ Own Id: OTP-9866

+
+ +

Using get/1 in a try block could in some + cases cause an internal compiler error. (Thanks to Eric + Merritt.)

+

+ Own Id: OTP-9867

+
+ +

+ An unexported on_load function would not get run if the + module was compiled with the inline option. + (Thanks to Yiannis Tsiouris.)

+

+ Own Id: OTP-9910

+
+ +

+ Fixed a discrepancy in compile_info

+

+ The BEAM disassembler used the atom 'none' to signify the + absence of a compile_info chunk in a .beam file. This + clashed with the type declaration of the compile_info + field of a #beam_file{} record as containing a list. Now + [] signifies the absence of this chunk. This simplifies + the code and avoids a dialyzer warning.

+

+ Own Id: OTP-9917

+
+ +

+ Fix typo in `compile' doc: unmatched parenthesis (Thanks + to Ricardo Catalinas Jiménez)

+

+ Own Id: OTP-9919

+
+ +

In a try...catch statement that always + returned false, the compiler would remove calls to + BIFs that could not cause an exception (such as + put/2). Example of such code: try put(K, V), + false catch _:_ -> false end.

+

+ Own Id: OTP-9982

+
+
+
+ +
+
Compiler 4.8
Fixed Bugs and Malfunctions diff --git a/lib/compiler/vsn.mk b/lib/compiler/vsn.mk index 416c2f08bb..c9c28cf9a2 100644 --- a/lib/compiler/vsn.mk +++ b/lib/compiler/vsn.mk @@ -1 +1 @@ -COMPILER_VSN = 4.8 +COMPILER_VSN = 4.8.1 -- cgit v1.2.3