]> gcc.gnu.org Git - gcc.git/commit
compiler: delay escaping sliced arrays
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 9 Jan 2018 23:16:13 +0000 (23:16 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 9 Jan 2018 23:16:13 +0000 (23:16 +0000)
commit9ac55031c41077b7465c64ac80587587709acbba
tree3e7d48df282ccdaa6a71764e645bc13df07ef05a
parent8080b14f01acf7d3cd3d126ef6a09ccf8a97a6f1
compiler: delay escaping sliced arrays

    Arrays that are sliced are set to escape in type checking, very
    early in compilation. The escape analysis runs later but cannot
    undo it. This CL changes it to not escape in the early stage.
    Later the escape analysis will make it escape when needed.

    Reviewed-on: https://go-review.googlesource.com/85635

From-SVN: r256403
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/wb.cc
This page took 0.055242 seconds and 5 git commands to generate.