From 2955ddebc32837b66d9bacb4e925ad0ed0033168 Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Tue, 23 Jun 2015 10:24:26 +0200 Subject: Prepare release --- lib/compiler/doc/src/notes.xml | 113 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 113 insertions(+) (limited to 'lib/compiler/doc/src') diff --git a/lib/compiler/doc/src/notes.xml b/lib/compiler/doc/src/notes.xml index 3311943b3c..6db8d19b5a 100644 --- a/lib/compiler/doc/src/notes.xml +++ b/lib/compiler/doc/src/notes.xml @@ -32,6 +32,119 @@

This document describes the changes made to the Compiler application.

+
Compiler 6.0 + +
Fixed Bugs and Malfunctions + + +

+ The compiler optimizes away building of terms that are + never actually used. As a result, the compiler in OTP 18 + may produce more warnings for terms that are built but + not used than the compiler in OTP 17.

+

+ Own Id: OTP-12453

+
+ +

+ Using a map could incorrectly suppress warnings for + unused variables.

+

+ Own Id: OTP-12515

+
+ +

+ The compiler now properly reports unknown parse + transforms. That is, undef exceptions coming from + the parse transform itself is reported differently from + the absence of the parse transform.

+

+ Own Id: OTP-12723

+
+ +

+ Allow for 'creation of sub binary delayed' optimization + if maps instructions are in a clause.

+

+ Own Id: OTP-12758

+
+
+
+ + +
Improvements and New Features + + +

+ The cerl and cerl_trees modules in the + compiler application are now documented.

+

+ Own Id: OTP-11978

+
+ +

+ The deprecated 'asm' option has been removed.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-12100

+
+ +

+ Support variables as Map keys in expressions and patterns

+

Erlang will accept any expression as keys in Map + expressions and it will accept literals or bound + variables as keys in Map patterns.

+

+ Own Id: OTP-12218

+
+ +

+ Infer Map type information in beam_type compiler + optimization pass.

+

+ Own Id: OTP-12253

+
+ +

+ Compiler optimizations have been improved.

+

+ Own Id: OTP-12393

+
+ +

+ Five undocumented functions in the module core_lib + have been deprecated and will be removed in the next + major release. The functions are: get_anno/{1,2}, + is_literal/1, is_literal_list/1, and + literal_value. Use the appropriate functions in + the cerl module instead.

+

+ Own Id: OTP-12497

+
+ +

+ Change some internal data structures to Maps in order to + speed up compilation time. Measured speed up is around + 10%-15%.

+

+ Own Id: OTP-12774

+
+ +

+ Fix beam_bool pass for Maps instruction get_map_elements

+

+ Before beam_split the get_map_elements instruction is + still in blocks and the helper function in beam_jump did + not reflect this.

+

+ Own Id: OTP-12844 Aux Id: 17

+
+
+
+ +
+
Compiler 5.0.4
Fixed Bugs and Malfunctions -- cgit v1.2.3