doc: 1.20 compiler changes

This adds the nonPGO, non-coverage compiler changes
for the 1.20 release.  There's not that much user
visible change.

For #54202.

Change-Id: Ib2964ed5f7e73bb89c720d09b868ab79682f5070
Reviewed-on: https://go-review.googlesource.com/c/go/+/454536
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Run-TryBot: David Chase <drchase@google.com>
This commit is contained in:
David Chase 2022-12-01 13:39:23 -05:00
parent 2986358969
commit b45cb0ce86
1 changed files with 12 additions and 1 deletions

View File

@ -306,7 +306,18 @@ Do not send CLs removing the interior tags from such phrases.
</p>
<p>
TODO: complete this section
The Go 1.20 compiler upgraded its front-end to use a new way of handling the
compiler's internal data, which fixes several generic-types bugs and enables
local types in generic functions and methods.
</p>
<p><!-- https://go.dev/issue/56103, CL 445598 -->
The compiler now <a href="https://go.dev/issue/56103">disallows anonymous interface cycles</a>.
</p>
<p><!-- https://go.dev/issue/49569 -->
Relative to Go 1.19, generated code performance is generally slightly improved,
build wall times are slightly increased, build user times are slightly decreased.
</p>
<h2 id="linker">Linker</h2>