From 65cc0b70d3254fe25dff8d2cda1446ce0d9987af Mon Sep 17 00:00:00 2001 From: DesWurstes Date: Fri, 14 Sep 2018 18:20:29 +0300 Subject: [PATCH] GCCGO added escape analysis: https://gcc.gnu.org/gcc-8/changes.html#go --- CompilerOptimizations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CompilerOptimizations.md b/CompilerOptimizations.md index aa65465a..b5a8bb6c 100644 --- a/CompilerOptimizations.md +++ b/CompilerOptimizations.md @@ -53,7 +53,7 @@ decisions for the gc toolchain. Gc compiler does global escape analysis across function and package boundaries. However, there are lots of cases where it gives up. For example, anything assigned to any kind of indirection (`*p = ...`) is considered escaped. Other things that can inhibit analysis are: function calls, package boundaries, slice literals, subslicing and indexing, etc. Full rules are too complex to describe, so check the `-m` output. * **gc:** 1.0+ -* **gccgo:** not yet. +* **gccgo:** 8.0+. ### Function Inlining