From 425889ba69b69a9b6fb14bfbef121d51b78e853a Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Tue, 23 Apr 2019 17:38:37 +0200 Subject: Prepare release --- lib/compiler/doc/src/notes.xml | 85 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) (limited to 'lib/compiler/doc/src') diff --git a/lib/compiler/doc/src/notes.xml b/lib/compiler/doc/src/notes.xml index d45dfef8f3..05b7cbc940 100644 --- a/lib/compiler/doc/src/notes.xml +++ b/lib/compiler/doc/src/notes.xml @@ -32,6 +32,91 @@

This document describes the changes made to the Compiler application.

+
Compiler 7.4 + +
Fixed Bugs and Malfunctions + + +

record_info/2 is a pseudo-function that + requires literal arguments known at compile time. + Therefore, the following usage is illegal: fun + record/info/2. The compiler would crash when during + compilation of that kind of code. Corrected to issue a + compilation error.

+

+ Own Id: OTP-15760 Aux Id: ERL-907

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

+ The compiler has been rewritten to internally use an + intermediate representation based on Static Single + Assignment (SSA). The new intermediate representation + makes more optimizations possible.

+

+ Most noticeable is that the binary matching optimizations + are now applicable in many more circumstances than + before.

+

+ Another noticeable change is that type optimizations are + now applied across local function calls, and will remove + a lot more redundant type tests than before.

+

+ Own Id: OTP-14894 Aux Id: ERL-714

+
+ +

Funs are no longer created when they are only used + locally, greatly improving the performance of named funs + and "fun-wrapped" macros.

+

+ Own Id: OTP-15273 Aux Id: ERL-639

+
+ +

All compiler options that can be given in the source + file can now also be given in the option list or from the + command line for erlc.

+

Specifically, the option + {nowarn_deprecated_function,MFAs} was only + recognized when given in the file with the attribute + -compile(). The option + {nowarn_unused_function,FAs} was incorrectly + documented to only work in a file, but it also worked + when given in the option list.

+

+ Own Id: OTP-15456

+
+ +

Internal documentation has now been added to the + Erts and Compiler applications.

+

The internal documents for Erts describe + miscellaneous interesting implementation details. Those + details can change at any time.

+

The internal documentation for Compiler + documents the API for the Core Erlang modules. While we + will not change those APIs without good reason, we don't + give the same guarantees about backward compatibility as + for the rest of the APIs in OTP.

+

+ Own Id: OTP-15715

+
+ +

There are new compiler options nowarn_removed + and {nowarn_removed,Items} to suppress warnings + for functions and modules that have been removed from + OTP.

+

+ Own Id: OTP-15749 Aux Id: ERL-904

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