compiler: Consider multi-result calls in escape analysis.
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 29 Apr 2015 22:40:07 +0000 (22:40 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 29 Apr 2015 22:40:07 +0000 (22:40 +0000)
commit1dea42c94bf801399e23d7e952fa058f3541de4c
tree32052a5b2324b3645095c963ed6bcc8b0b5bc8dd
parent67b68b8139ca4e45c8948642cd6678159ae51311
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.

From-SVN: r222598
gcc/go/gofrontend/escape.cc