r222598 - /trunk/gcc/go/gofrontend/escape.cc

ian@gcc.gnu.org ian@gcc.gnu.org
Wed Apr 29 22:40:00 GMT 2015


Author: ian
Date: Wed Apr 29 22:40:07 2015
New Revision: 222598

URL: https://gcc.gnu.org/viewcvs?rev=222598&root=gcc&view=rev
Log:
compiler: Consider multi-result calls in escape analysis.

When building connection graphs between objects, the analysis
only handled calls of the form `call(...)` or `var := call(...)`.
Functions with multiple results being used e.g. `var, _ = call(...)`
were not analyzed, causing some escaping variables to be marked as
non-escaping.

Modified:
    trunk/gcc/go/gofrontend/escape.cc



More information about the Gcc-cvs mailing list