mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
GCCGO added escape analysis: https://gcc.gnu.org/gcc-8/changes.html#go
parent
bcf57bccdb
commit
65cc0b70d3
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user